Gentoo Archives: gentoo-user

From: Wol's lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fdisk reports new HD as 10MiB
Date: Sat, 06 Jul 2019 22:20:10
Message-Id: 018027ac-d4fe-9268-25bb-dd3349f805c5@youngman.org.uk
In Reply to: Re: [gentoo-user] Fdisk reports new HD as 10MiB by Dale
1 On 06/07/2019 15:56, Dale wrote:
2 > Robin Atwood wrote:
3 >> On Sat, 6 Jul 2019 09:11:22 +1000
4 >> Adam Carter <adamcarter3@×××××.com> wrote:
5 >>
6 >>>> OK panic over! I had shelled into the wrong system! The mystery is
7 >>>> what I was trying to copy to, the machine only has one HD.
8 >>>>
9 >>> lsblk is nice
10 >>>
11 >>> $ lsblk
12 >>> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
13 >>> sda 8:0 0 931.5G 0 disk
14 >>> └─sda1 8:1 0 931.5G 0 part /var
15 >>> nvme0n1 259:0 0 477G 0 disk
16 >>> ├─nvme0n1p1 259:1 0 1G 0 part
17 >>> └─nvme0n1p2 259:2 0 476G 0 part /
18 >> lsblk *is* nice, thanks!
19 >>
20 >> Robin
21 >
22 >
23 > FYI, it also works when using LVM too.
24 >
25 >
26 > root@fireball / # lsblk
27 > NAME              MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
28 > sda                 8:0    1 149.1G  0 disk
29 > ├─sda1              8:1    1 384.3M  0 part /boot
30 > ├─sda2              8:2    1     1K  0 part
31 > ├─sda5              8:5    1   957M  0 part
32 > ├─sda6              8:6    1  23.3G  0 part /
33 > └─sda7              8:7    1 124.5G  0 part
34 >   ├─OS-usr        254:0    0    35G  0 lvm  /usr
35 >   ├─OS-var        254:1    0    32G  0 lvm  /var
36 >   └─OS-swap       254:2    0    12G  0 lvm  [SWAP]
37 > sdb                 8:16   1   2.7T  0 disk
38 > └─sdb1              8:17   1   2.7T  0 part
39 >   └─Home2-Home2   254:3    0   8.2T  0 lvm  /home
40 > sdc                 8:32   1   5.5T  0 disk
41 > └─sdc1              8:33   1   5.5T  0 part
42 >   └─Home2-Home2   254:3    0   8.2T  0 lvm  /home
43 > sdd                 8:48   1 698.7G  0 disk
44 > └─sdd1              8:49   1 698.7G  0 part
45 >   └─backup-backup 254:4    0 698.6G  0 lvm  /backup
46 > sr0                11:0    1     3G  0 rom
47 > root@fireball / #
48 >
49 What about lsdrv (as per the raid wiki)?
50
51 https://raid.wiki.kernel.org/index.php/Asking_for_help
52
53 That handles pretty much everything.
54
55 Cheers,
56 Wol

Replies

Subject Author
Re: [gentoo-user] Fdisk reports new HD as 10MiB Dale <rdalek1967@×××××.com>