public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Wols Lists <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Fdisk reports new HD as 10MiB
Date: Sun, 7 Jul 2019 13:19:22 +0100	[thread overview]
Message-ID: <5D21E34A.5000000@youngman.org.uk> (raw)
In-Reply-To: <dda31d3b-e040-4604-7179-139357ed076c@gmail.com>

On 07/07/19 02:12, Dale wrote:
> Wol's lists wrote:
>> On 06/07/2019 15:56, Dale wrote:
>>> Robin Atwood wrote:
>>>> On Sat, 6 Jul 2019 09:11:22 +1000
>>>> Adam Carter <adamcarter3@gmail.com> wrote:
>>>>
>>>>>> OK panic over! I had shelled into the wrong system! The mystery is
>>>>>> what I was trying to copy to, the machine only has one HD.
>>>>>>
>>>>> lsblk is nice
>>>>>
>>>>> $ lsblk
>>>>> NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
>>>>> sda           8:0    0 931.5G  0 disk
>>>>> └─sda1        8:1    0 931.5G  0 part /var
>>>>> nvme0n1     259:0    0   477G  0 disk
>>>>> ├─nvme0n1p1 259:1    0     1G  0 part
>>>>> └─nvme0n1p2 259:2    0   476G  0 part /
>>>> lsblk *is* nice, thanks!
>>>>
>>>> Robin
>>>
>>>
>>> FYI, it also works when using LVM too.
>>>
>>>
>>> root@fireball / # lsblk
>>> NAME              MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
>>> sda                 8:0    1 149.1G  0 disk
>>> ├─sda1              8:1    1 384.3M  0 part /boot
>>> ├─sda2              8:2    1     1K  0 part
>>> ├─sda5              8:5    1   957M  0 part
>>> ├─sda6              8:6    1  23.3G  0 part /
>>> └─sda7              8:7    1 124.5G  0 part
>>>    ├─OS-usr        254:0    0    35G  0 lvm  /usr
>>>    ├─OS-var        254:1    0    32G  0 lvm  /var
>>>    └─OS-swap       254:2    0    12G  0 lvm  [SWAP]
>>> sdb                 8:16   1   2.7T  0 disk
>>> └─sdb1              8:17   1   2.7T  0 part
>>>    └─Home2-Home2   254:3    0   8.2T  0 lvm  /home
>>> sdc                 8:32   1   5.5T  0 disk
>>> └─sdc1              8:33   1   5.5T  0 part
>>>    └─Home2-Home2   254:3    0   8.2T  0 lvm  /home
>>> sdd                 8:48   1 698.7G  0 disk
>>> └─sdd1              8:49   1 698.7G  0 part
>>>    └─backup-backup 254:4    0 698.6G  0 lvm  /backup
>>> sr0                11:0    1     3G  0 rom
>>> root@fireball / #
>>>
>> What about lsdrv (as per the raid wiki)?
>>
>> https://raid.wiki.kernel.org/index.php/Asking_for_help
>>
>> That handles pretty much everything.
>>
>> Cheers,
>> Wol
>>
>>
> 
> 
> I don't have RAID so no idea. 
> 
> Dale
> 
> :-)  :-) 
> 
lsdrv looks like lsblk, it's just that it handles afaik pretty much
everything - starts with the disk, then lists any partitions, any lvm's,
any raids, etc etc.

Cheers,
Wol


  reply	other threads:[~2019-07-07 12:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 14:12 [gentoo-user] Fdisk reports new HD as 10MiB Robin Atwood
2019-07-05 14:14 ` Vladimir Romanov
2019-07-05 14:30   ` Robin Atwood
2019-07-05 14:31     ` Vladimir Romanov
2019-07-05 14:36       ` Robin Atwood
2019-07-05 14:40         ` Vladimir Romanov
2019-07-05 15:42           ` Grant Taylor
2019-07-05 14:34     ` Mick
2019-07-05 14:44       ` Robin Atwood
2019-07-05 14:47         ` Mick
2019-07-05 15:33           ` Robin Atwood
2019-07-05 23:11         ` Adam Carter
2019-07-06 14:30           ` Robin Atwood
2019-07-06 14:56             ` Dale
2019-07-06 22:19               ` Wol's lists
2019-07-07  1:12                 ` Dale
2019-07-07 12:19                   ` Wols Lists [this message]
2019-07-07 12:38                     ` Dale
2019-07-09  1:34                     ` Adam Carter
2019-07-09 21:45                       ` Wols Lists
2019-07-06  1:14         ` Paul Colquhoun
2019-07-06 14:28           ` Robin Atwood
2019-07-06 22:23     ` Wol's lists
2019-07-07  1:15       ` Dale
2019-07-09 22:06   ` Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5D21E34A.5000000@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox