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

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

 



Hi,

Find below the ouput of df command & the contents of /proc/mdstat file.
[root@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@bangapps root]#  cd /proc
[root@bangapps proc]# ls -l mdstat
-rw-r--r--    1 root     root            0 Feb 16 09:02 mdstat
[root@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@xxxxxxxxxx> 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@xxxxxxxxxx
> Member #1, Red Hat Community Ambassador Program
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux