You are not logged in.

#1 2014-02-13 09:44:18

bstaletic
Member
Registered: 2014-02-02
Posts: 658

RAID + LVM partition size

I made a software RAID 5, and placed lvm on top of it. The home partition should be around 500GiB, but Krusader says it is only 70GiB. I named the RAID md5 (to remind me of its level), yet it got somehow renamed to md127. So is everyting working as it should and Krusader is misreading partition sizes, or should I fix something?

Here's the output of lsblk:

NAME                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                    8:0    0 298.1G  0 disk  
|-sda1                 8:1    0   100M  0 part  
|-sda2                 8:2    0  68.3G  0 part  
|-sda3                 8:3    0     1K  0 part  
|-sda4                 8:4    0  77.7G  0 part  
|-sda5                 8:5    0     2G  0 part  [SWAP]
|-sda6                 8:6    0   512M  0 part  /boot
|-sda7                 8:7    0    75G  0 part  
| `-md127              9:127  0 521.1G  0 raid5 
|   |-lvmr-root-real 254:0    0    20G  0 lvm   
|   | |-lvmr-root    254:1    0    20G  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   |-lvmr-lvol0-cow 254:2    0   200M  0 lvm
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   `-lvmr-home      254:4    0 500.9G  0 lvm   /home
`-sda8                 8:8    0  74.5G  0 part
  `-md127              9:127  0 521.1G  0 raid5
    |-lvmr-root-real 254:0    0    20G  0 lvm 
    | |-lvmr-root    254:1    0    20G  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    `-lvmr-home      254:4    0 500.9G  0 lvm   /home
sdb                    8:16   0 298.1G  0 disk  
|-sdb1                 8:17   0     1K  0 part  
|-sdb5                 8:21   0  74.5G  0 part  
| `-md127              9:127  0 521.1G  0 raid5 
|   |-lvmr-root-real 254:0    0    20G  0 lvm   
|   | |-lvmr-root    254:1    0    20G  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   `-lvmr-home      254:4    0 500.9G  0 lvm   /home
|-sdb6                 8:22   0  74.5G  0 part  
| `-md127              9:127  0 521.1G  0 raid5 
|   |-lvmr-root-real 254:0    0    20G  0 lvm   
|   | |-lvmr-root    254:1    0    20G  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   `-lvmr-home      254:4    0 500.9G  0 lvm   /home
|-sdb7                 8:23   0  74.5G  0 part  
| `-md127              9:127  0 521.1G  0 raid5 
|   |-lvmr-root-real 254:0    0    20G  0 lvm   
|   | |-lvmr-root    254:1    0    20G  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   `-lvmr-home      254:4    0 500.9G  0 lvm   /home
`-sdb8                 8:24   0  74.5G  0 part  
  `-md127              9:127  0 521.1G  0 raid5 
    |-lvmr-root-real 254:0    0    20G  0 lvm   
    | |-lvmr-root    254:1    0    20G  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    `-lvmr-home      254:4    0 500.9G  0 lvm   /home
sdc                    8:32   0 149.1G  0 disk  
|-sdc1                 8:33   0     1K  0 part  
|-sdc5                 8:37   0  74.5G  0 part  
| `-md127              9:127  0 521.1G  0 raid5 
|   |-lvmr-root-real 254:0    0    20G  0 lvm   
|   | |-lvmr-root    254:1    0    20G  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
|   | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
|   `-lvmr-home      254:4    0 500.9G  0 lvm   /home
`-sdc6                 8:38   0  74.5G  0 part  
  `-md127              9:127  0 521.1G  0 raid5 
    |-lvmr-root-real 254:0    0    20G  0 lvm   
    | |-lvmr-root    254:1    0    20G  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    |-lvmr-lvol0-cow 254:2    0   200M  0 lvm   
    | `-lvmr-lvol0   254:3    0    20G  0 lvm   /
    `-lvmr-home      254:4    0 500.9G  0 lvm   /home

The partitions /dev/sda1 /dev/sda2 and /dev/sda3 are ntfs used for Windwows 7, /home and / are btrfs and /boot is ext4 (btrfs said it is too small for regular btrfs partition).

Last edited by bstaletic (2014-02-13 09:48:28)

Offline

Board footer

Powered by FluxBB