Here are the files :

-- /proc/mdstat --------------------------------------------------
[rsi@s1 ~]$ cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdb2[1] sda2[0] 4320192 blocks [2/2] [UU]
unused devices: <none>

-- /etc/fstab ----------------------------------------------------
[rsi@s1 ~]$ cat /etc/fstab
/dev/md0             /                    ext2    defaults     1 B1
/dev/sda3            swap                 swap    defaults     0 0
/dev/sdb3            swap                 swap    defaults     0 0
/dev/fd0             /mnt/floppy          ext2    noauto       0 0
none                 /proc                proc    defaults     0 0
none                 /dev/pts             devpts  mode=0622    0 0

-- /etc/raidtab ---------------------------------------------------
[rsi@s1 ~]$ cat /etc/raidtab
raiddev /dev/md0
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size      4
        persistent-superblock   1
        device          /dev/sda2
        raid-disk       0
        device          /dev/sdb2
        raid-disk       1

-- Output from /bin/df ---------------------------------------------
[rsi@s1 ~]$ /bin/df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/md0               4174463    881562   3076892  22% /

Since the raid has been set up, df ALWAYS return the same value ...
I've added many many things on the disk (and a 1 Mo squid cache)

Thanks for your help,
Rodolphe

> [This message has also been posted.]
> On Sat, 10 Jul 1999 16:37:52 +0200, Rodolphe <[EMAIL PROTECTED]> wrote:
> |hi,
> |I've set up 2 scsi disks in an array using RAID 1 (using RedHat 6.0,
> |kernel 2.2.5-22). I've also recomiled the kernel as I need to have raid
> |1 built in  in order to boot on the raid array.
> |
> |The array works fine (as I can see from /proc/mdstat) but df doesn't
> |give me the disk usage.
> |It's very annoying ! Does someone encounter this problem ? How can I
> |solve it ?
> 
> 
> Can you post the output ( or error message ) produced by /bin/df ?
> 
> The contents of /proc/mdstat , /etc/fstab and /etc/raidtab would
> be helpfull as well.
> 
> 
> -- 
> Reverend Paul Colquhoun,      [EMAIL PROTECTED]
> Universal Life Church    http://andor.dropbear.id.au/~paulcol
> -=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
> xenaphobia: The fear of being beaten to a pulp by
>             a leather-clad, New Zealand woman.
> 

Reply via email to