[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help with Software RAID needed



I just got my new dedicated server, running Debian Lenny 64bit.
It has 2x500gb Software RAID but "df -hT" only shows a few GB for each
partition:

# df -hT
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/md1      ext3    3.7G  339M  3.4G  10% /
tmpfs        tmpfs    2.0G     0  2.0G   0% /lib/init/rw
udev         tmpfs     10M  576K  9.5M   6% /dev
tmpfs        tmpfs    2.0G     0  2.0G   0% /dev/shm
/dev/mapper/vg00-usr
               xfs    4.0G  281M  3.8G   7% /usr
/dev/mapper/vg00-var
               xfs    4.0G   48M  4.0G   2% /var
/dev/mapper/vg00-home
               xfs    4.0G  4.2M  4.0G   1% /home
none         tmpfs    2.0G     0  2.0G   0% /tmp




"fdisk -l" shows the correct sizes:

# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb6a3db46

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         487     3911796   fd  Linux raid
autodetect
/dev/sda2             488         731     1959930   82  Linux swap / Solaris
/dev/sda3             732       60801   482512275   fd  Linux raid
autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7e96aee6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         487     3911796   fd  Linux raid
autodetect
/dev/sdb2             488         731     1959930   82  Linux swap / Solaris
/dev/sdb3             732       60801   482512275   fd  Linux raid
autodetect

Disk /dev/md1: 4005 MB, 4005560320 bytes
2 heads, 4 sectors/track, 977920 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md3: 494.0 GB, 494092484608 bytes
2 heads, 4 sectors/track, 120628048 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md3 doesn't contain a valid partition table

Disk /dev/dm-0: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table






How can I increase the size of the partitions?


-- 
Regards,

Jo Galara

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: