How do I find out what kind of raid is implemented.

unix syzadmin unixsyzadmin at gmail.com
Thu Feb 16 10:31:01 UTC 2006


[root at bangapps 9.1]# df -T
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda6     ext3     4127076    318044   3599388   9% /
/dev/sda1     ext3      101089     25878     69992  27% /boot
/dev/sda9     ext3   107470556  74325992  27685280  73% /installers
/dev/vg00/LV00
              ext2   102488500  92929728   4352756  96% /export/home
/dev/vg00/logs
              ext3    35886164  34059772      3672 100% /logs
/dev/vg00/bealogs
              ext3     5039616   4627776    155840  97% /bealogs
/dev/sda3     ext3     6048352     34604   5706508   1% /opt
none         tmpfs     2045776         0   2045776   0% /dev/shm
/dev/sda8     ext3     2063504     32872   1925812   2% /tmp
/dev/sda2     ext3    15116868   2067484  12281480  15% /usr
/dev/sda7     ext3     2063504    145256   1813428   8% /var
/dev/vg00/backup
              ext3   102002024  18301664  78518920  19% /backup

On 2/16/06, unix syzadmin <unixsyzadmin at gmail.com> wrote:
>
> Hi,
>
> Find below the ouput of df command & the contents of /proc/mdstat file.
> [root at bangapps root]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda6              4127076    318044   3599388   9% /
> /dev/sda1               101089     25878     69992  27% /boot
> /dev/sda9            107470556  74238944  27772328  73% /installers
> /dev/vg00/LV00       102488500  92909036   4373448  96% /export/home
> /dev/vg00/backup     102002024  16453584  80367000  17% /backup
> /dev/vg00/logs        35886164  34063444         0 100% /logs
> /dev/vg00/bealogs      5039616   4627776    155840  97% /bealogs
> /dev/sda3              6048352     34604   5706508   1% /opt
> none                   2045776         0   2045776   0% /dev/shm
> /dev/sda8              2063504     32872   1925812   2% /tmp
> /dev/sda2             15116868   2067472  12281492  15% /usr
> /dev/sda7              2063504    145112   1813572   8% /var
>
> [root at bangapps root]#  cd /proc
> [root at bangapps proc]# ls -l mdstat
> -rw-r--r--    1 root     root            0 Feb 16 09:02 mdstat
> [root at bangapps proc]# more mdstat
> Personalities : [raid5]
> read_ahead 1024 sectors
> Event: 1
> md0 : active raid5 sde1[3] sdd1[2] sdc1[1] sdb1[0]
>       430115904 blocks level 5, 64k chunk, algorithm 0 [4/4] [UUUU]
>
> unused devices: <none>
>
>
> As you can see /logs is 100% full.  I am asked to reduce /backup and
> increase /logs.
> Please let me know if the following commands would do the needful.
> umount /backup
> e2fsadm -L -40G /dev/vg00/backup
>  mount /dev/vg00/backup /backup
>
> umount /logs
>  e2fsadm -L +40G /dev/vg00/logs
> mount /dev/vg00/logs /logs
>
>
>
> Thanks & Regards,
> -GnanaShekar-
>
>  On 2/15/06, Ed Wilts <ewilts at ewilts.org> wrote:
> >
> > On Wed, Feb 15, 2006 at 05:40:17PM +0530, unix syzadmin wrote:
> > > Hi,
> > >
> > > We have a RHEL AS3 server.  How do I find out what kind of raid is
> > > implemented.
> >
> > # cat /proc/mdstat
> >
> > I will guess (and it's only a guess!) that sda has no protection and
> > that sdb/sdc/sdd/sde are a Raid-5 set.   The guess is based on what I
> > would have expected people to do with 4 drives but depending on your
> > application and availability requirements, it could be a large stripe
> > set or a pair of mirror sets.  With a df display, my guess would have
> > been more educated.
> >
> > --
> > Ed Wilts, RHCE
> > Mounds View, MN, USA
> > mailto:ewilts at ewilts.org
> > Member #1, Red Hat Community Ambassador Program
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto: redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>



More information about the redhat-list mailing list