Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I have one centos server, it has raid disk, now i want to know the raid level, every disk information and status, also i want to know how to check ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2012
    Posts
    6

    How to check my server raid disk info?


    I have one centos server, it has raid disk, now i want to know the raid level, every disk information and status, also i want to know how to check if the disk has bad track?

    many thanks.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    You haven't stated if you are using a software or hardware RAID or what level the RAID is.

    My understanding is you only run your check disk against individual drives not against a RAID.
    If it is a hardware RAID then there might be some utilities on the RAID controller to do what you want.
    If it is a software RAID you might need to disconnect the drive from the RAID before you run your check against it.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Apr 2012
    Posts
    6
    Hi Robert,

    It's hardware RAID, and i don't know how to check the RAID level, because the server locate in data center.
    >>If it is a hardware RAID then there might be some utilities on the RAID controller to do what you want.
    Because it's commercial server, i can't install utilities on the server, so i consider if there has any information about the hardware RAID in linux system.

    Regards,

    Levi

  4. #4
    Just Joined!
    Join Date
    Apr 2012
    Posts
    6
    Now it's hardware RAID, i can use which command to check the RAID level, and how to check the disk status, can linux system record this information automatic, where can i find this?

    Many thanks.

  5. #5
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    I use software raid here so I'm not going to be much help with hardware RAID but if you are using an Adaptec controller you could run the following command from the CLI;

    Code:
    arcconf GETCONFIG 1 LD
    You are going to have to do your homework here and search the web.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #6
    Just Joined!
    Join Date
    Dec 2010
    Posts
    13
    Hi Jiste,
    You can use cat /proc/mdstat

    Regards,
    Sumit.

  7. #7
    Just Joined!
    Join Date
    Apr 2012
    Posts
    6
    Hi Sumit,

    I have tried, but it seems no help, below is what i get from this document.

    [root@host ~]# cat /proc/mdstat
    Personalities :
    unused devices: <none>

    Regards,
    Lvei

  8. #8
    Linux Newbie
    Join Date
    Apr 2012
    Posts
    112
    Quote Originally Posted by jistso View Post
    Hi Sumit,

    I have tried, but it seems no help, below is what i get from this document.

    [root@host ~]# cat /proc/mdstat
    Personalities :
    unused devices: <none>

    Regards,
    Lvei
    This is only applicable for software raid. As mentioned by Lazydog, find out what raid controller your servers uses and take it from there.

  9. #9
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by ss81 View Post
    Hi Jiste,
    You can use cat /proc/mdstat

    Regards,
    Sumit.
    As already stated this is for software raid, which I use and would have suggested had he been using a software raid.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  10. #10
    Just Joined!
    Join Date
    Jan 2009
    Posts
    15
    hi,try this...
    raiddev /dev/md0

    regards
    hemanth

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •