Re: sofware raid does not show the full partition size on disk

2009-06-12 Thread Siju George
On Thu, Jun 11, 2009 at 7:48 PM, martin f krafft wrote: > Have you ever modified the partition table to increase the size of > the partition? > yes I replaced the two 40 GB Disks with 2 80GB Disks > Have you made a backup? > no > Does it work if you unmount /var and then try > >  mdadm --grow -

Re: sofware raid does not show the full partition size on disk

2009-06-11 Thread martin f krafft
also sprach Siju George [2009.06.11.1556 +0200]: > mdadm -D /dev/md6 > > does not show the right size either. Have you ever modified the partition table to increase the size of the partition? If yes, then I assume you did not recreate the array then and since the superblock is stored at the end

Re: sofware raid does not show the full partition size on disk

2009-06-11 Thread Siju George
On Thu, Jun 11, 2009 at 7:08 PM, martin f krafft wrote: > > also sprach martin f krafft [2009.06.11.1526 +0200]: > > I assume that this is due to open file descriptors; Linux frees > > diskspace only after a file descriptor is closed, not when the file > > is unlinked from a directory. > > Sorry,

Re: sofware raid does not show the full partition size on disk

2009-06-11 Thread martin f krafft
also sprach martin f krafft [2009.06.11.1526 +0200]: > I assume that this is due to open file descriptors; Linux frees > diskspace only after a file descriptor is closed, not when the file > is unlinked from a directory. Sorry, I misread. Does mdadm -D /dev/md6 reflect the right size? -- .

Re: sofware raid does not show the full partition size on disk

2009-06-11 Thread martin f krafft
also sprach Siju George [2009.06.11.1511 +0200]: > ~# df -h > FilesystemSize Used Avail Use% Mounted on > /dev/md2 953M 519M 435M 55% / > tmpfs 237M 0 237M 0% /lib/init/rw > tmpfs 237M 0 237M 0% /dev/shm > /dev/md1

sofware raid does not show the full partition size on disk

2009-06-11 Thread Siju George
Hi, I have two hard disks hda and hdc. The partition sizes are as follows according to cfdisk. Disk Drive: /dev/hda Size: 80026361856 bytes, 80.0 GB Heads: 255 Sectors per Track: 63 Cylinders: 9729 NameFlags