?
Solved

Raid disk partitioning scheme understanding

Posted on 2014-09-24
2
Medium Priority
?
134 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 30

Accepted Solution

by:
serialband earned 1000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 3 hours left to enroll

770 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