Help with Software RAID needed

2011-04-23 Thread Jo Galara
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
FilesystemTypeSize  Used Avail Use% Mounted on
/dev/md1  ext33.7G  339M  3.4G  10% /
tmpfstmpfs2.0G 0  2.0G   0% /lib/init/rw
udev tmpfs 10M  576K  9.5M   6% /dev
tmpfstmpfs2.0G 0  2.0G   0% /dev/shm
/dev/mapper/vg00-usr
   xfs4.0G  281M  3.8G   7% /usr
/dev/mapper/vg00-var
   xfs4.0G   48M  4.0G   2% /var
/dev/mapper/vg00-home
   xfs4.0G  4.2M  4.0G   1% /home
none tmpfs2.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: 0x

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: 0x

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: 0x

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: 0x

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: 0x

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






How can I increase the size of the partitions?


-- 
Regards,

Jo Galara



signature.asc
Description: OpenPGP digital signature


Re: Help with Software RAID needed

2011-04-23 Thread Jo Galara
More information:


# cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 sdb3[0] sda3[1]
  482512192 blocks [2/2] [UU]

md1 : active raid1 sda1[0] sdb1[1]
  3911680 blocks [2/2] [UU]

unused devices: none


# mount
/dev/md1 on / type ext3 (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/vg00-usr on /usr type xfs (rw)
/dev/mapper/vg00-var on /var type xfs (rw,usrquota)
/dev/mapper/vg00-home on /home type xfs (rw,usrquota)
none on /tmp type tmpfs (rw)

-- 
Regards,

Jo Galara



signature.asc
Description: OpenPGP digital signature


Re: Help with Software RAID needed

2011-04-23 Thread Arno Schuring
Jo Galara (jogal...@gmail.com on 2011-04-23 19:55 +0200):
 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:
[...]
 /dev/mapper/vg00-usr on /usr type xfs (rw)
 /dev/mapper/vg00-var on /var type xfs (rw,usrquota)
 /dev/mapper/vg00-home on /home type xfs (rw,usrquota)
 
You're using LVM. What does
# pvdisplay

show?


Regards,
Arno


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110424002924.1f2ab...@neminis.loos.site