Solved

Raid disk partitioning scheme understanding

Posted on 2014-09-24
2
126 Views
Last Modified: 2016-12-08
// ----------------------------------------------ns1---------------------------------------
FreeBSD 8.3

[root@ns1 /etc]# gpart show
=>        63  1953525105  ad4  MBR  (931G)
          63        1985       - free -  (992k)
        2048  1953249280    1  freebsd  [active]  (931G)
  1953251328      273840       - free -  (133M)

=>         0  1953249280  ad4s1  BSD  (931G)
           0     2097152         - free -  (1.0G)
     2097152     8304528      2  freebsd-swap  (4G)
    10401680    14637056         - free -  (7G)
    25038736    20971520      1  freebsd-ufs  (10G)
    46010256    62914560      6  freebsd-ufs  (30G)
   108924816    20971520      5  freebsd-ufs  (10G)
   129896336    20971520      4  freebsd-ufs  (10G)
   150867856  1676083200      7  freebsd-ufs  (799G)
  1826951056   126298224         - free -  (60G)

=>        63  1953525105  ad6  MBR  (931G)
          63        1985       - free -  (992k)
        2048  1953249280    1  freebsd  [active]  (931G)
  1953251328      273840       - free -  (133M)

=>         0  1953249280  ad6s1  BSD  (931G)
           0     2097152         - free -  (1.0G)
     2097152     8304528      2  freebsd-swap  (4G)
    10401680    14637056         - free -  (7G)
    25038736    20971520      1  freebsd-ufs  (10G)
    46010256    62914560      6  freebsd-ufs  (30G)
   108924816    20971520      5  freebsd-ufs  (10G)
   129896336    20971520      4  freebsd-ufs  (10G)
   150867856  1676083200      7  freebsd-ufs  (799G)
  1826951056   126298224         - free -  (60G)

=>        63  1953253418  ar0  MBR  (931G)
          63        1985       - free -  (992k)
        2048  1953249280    1  freebsd  [active]  (931G)
  1953251328        2153       - free -  (1.1M)

=>         0  1953249280  ar0s1  BSD  (931G)
           0     2097152         - free -  (1.0G)
     2097152     8304528      2  freebsd-swap  (4G)
    10401680    14637056         - free -  (7G)
    25038736    20971520      1  freebsd-ufs  (10G)
    46010256    62914560      6  freebsd-ufs  (30G)
   108924816    20971520      5  freebsd-ufs  (10G)
   129896336    20971520      4  freebsd-ufs  (10G)
   150867856  1676083200      7  freebsd-ufs  (799G)
  1826951056   126298224         - free -  (60G)

Could you explain what does all this devices mean? Particularly, what is ad4, ad6, ar0

                        /dev/ad4s1f     /dev/ad6s1e     /dev/ar0s1d
/dev/ad4        /dev/ad4s1g     /dev/ad6s1f     /dev/ar0s1e
/dev/ad4s1      /dev/ad6        /dev/ad6s1g     /dev/ar0s1f
/dev/ad4s1a     /dev/ad6s1      /dev/ar0        /dev/ar0s1g
/dev/ad4s1b     /dev/ad6s1a     /dev/ar0s1      
/dev/ad4s1d     /dev/ad6s1b     /dev/ar0s1a    
/dev/ad4s1e     /dev/ad6s1d     /dev/ar0s1b    

What kind of raid I have? Raid 0 or raid 1?

Why I don't have /dev/raid folder on NS1? but I have /dev/raid/ folder on ns2

//------------------------------------ NS2 ----------------------------------------------
FreeBSD 10.

root@ns2:~ # gpart show
=>        34  1953253414  raid/r0  GPT  (931G)
          34        1024        1  freebsd-boot  (512K)
        1058     2096128           - free -  (1.0G)
     2097186   209715200        2  freebsd-ufs  (100G)
   211812386     8388608        3  freebsd-swap  (4.0G)
   220200994  1732247552        4  freebsd-ufs  (826G)
  1952448546      804902           - free -  (393M)

Device list
/dev/ad4
/dev/ad6  
/dev/ada0                      
 /dev/ada1      
/dev/ar0        
 /dev/ar0p1  
 /dev/ar0p2      
 /dev/ar0p3
/dev/ar0p4

Could you explain what does all this devices mean?
What kind of raid I have here?


root@ns2:/dev/raid # ls
r0      r0p1    r0p2    r0p3    r0p4
0
Comment
Question by:Nusrat Nuriyev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
serialband earned 500 total points
ID: 40342181
It appears that you have a RAID 1 device named ar0 with 2 physical disks ad4 and ad6
0
 

Author Comment

by:Nusrat Nuriyev
ID: 40349299
on which ns1 or ns2? can you recommend software which will exactly tell which raid I'm in
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question