Visit Our UNIX and Linux User Community

Hardware RAID using three disks

Thread Tools Search this Thread
Operating Systems Solaris Hardware RAID using three disks
# 1  
Old 01-14-2015
Hardware RAID using three disks

Dear All ,

Pl find the below command ,
# raidctl -l
Controller: 1
        Disk: 0.0.0
        Disk: 0.1.0
        Disk: 0.3.0
 raidctl -l c1t0d0
Volume                  Size    Stripe  Status   Cache  RAID
        Sub                     Size                    Level
c1t0d0                  136.6G  N/A     OPTIMAL  OFF    RAID1
                0.0.0   136.6G          GOOD
                0.1.0   136.6G          GOOD

Searching for disks...done

       0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
       1. c1t3d0 <SUN600G cyl 64986 alt 2 hd 27 sec 668>
Specify disk (enter its number): ^D

In the above output , i want to know how this RAID 1 volume has been created , whether it is created of two disks or three disks as because i find in "raidctl -l " command there are three disks present .

And also i want to do the patching on this server , any one tell me how to split this raid 1 volume and do the activity.

# 2  
Old 01-14-2015
The raid1 mirror has 2 disks; c1t0d0 and c1t1d0

Let me state a few facts just to ensure that you've got the principles here. Post back any questions on these points. It's important that you understand this.

1. Your box has an integrated RAID controller (but regard it as a separate card).

2. You interrogate/configure this controller using the raidctl command which can see all disks; mirrored or not.

3. If you create a mirror (using raidctl), one of the disks disappears as far as the O/S is concerned. The RAID controller simply presents one disk to the O/S and takes care of the mirror copy to the other disk. Therefore, the other (hidden) disk is NOT visible to the format command (unless you unmirror it).

Therefore what you posted tells me that there are 2 disks in the mirror. The OPTIMAL means that it is healthy.

There is a third disk in the system (c1t3d0) which is not mirrored and just simply passed through to the O/S.

Therefore the format command sees c1t0d0 (the RAID1 mirror; really 2 disks) and the third disk (c1t3d0).

Sorry if you already knew that but just to be sure that you know what you're looking at.


# mount

to see if any slice of c1t3d0 is in use.

You can also select this disk in the format command and print it's vtoc to see if it's even sliced (partitioned). Maybe there's nothing on this disk.

Why do you think that you should contemplate breaking the mirror in order to patch? Just take a backup (perhaps to c1t3d0 if it's not in use).

There's plenty of knowledge and help available on this forum. Just post your questions.

Hope that helps.
# 3  
Old 01-14-2015
Sounds to me like anything on c1t3d0 is unprotected from hardware failure thought. I'd worry about that more than patching initially.

Last edited by rbatte1; 01-14-2015 at 09:16 AM.. Reason: Spelling
# 4  
Old 01-14-2015

is not enough.
Also check if the disk is in use by
swap -l
zpool status

These 2 Users Gave Thanks to MadeInGermany For This Post:
# 5  
Old 01-14-2015
@MadeInGermany........good point. Thanks. From a previous, but related, thread we know the system is ufs not zfs.
This User Gave Thanks to hicksd8 For This Post:
# 6  
Old 01-17-2015
Thanks all for your valuable inputs , shall come back again in case of any doubts....

---------- Post updated 01-17-15 at 12:36 AM ---------- Previous update was 01-16-15 at 05:34 AM ----------

Dear Hicks/All,

1. When I executed the below command.

The disk c1t3d0 is not in use , pl find the below outputs

 # cat /etc/mnttab
/dev/dsk/c1t0d0s0       /       ufs     rw,intr,largefiles,logging,xattr,onerror=panic,dev=800000       1395166360
/devices        /devices        devfs   dev=5680000     1395166347
ctfs    /system/contract        ctfs    dev=56c0001     1395166347
proc    /proc   proc    dev=5700000     1395166347
mnttab  /etc/mnttab     mntfs   dev=5740001     1395166347
swap    /etc/svc/volatile       tmpfs   xattr,dev=5780001       1395166347
objfs   /system/object  objfs   dev=57c0001     1395166347
sharefs /etc/dfs/sharetab       sharefs dev=5800001     1395166347
/platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/ /platform/sun4v/lib/       lofs    dev=800000      1395166354
/platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/ /platform/sun4v/lib/sparcv9/       lofs    dev=800000      1395166354
fd      /dev/fd fd      rw,dev=5980001  1395166360
swap    /tmp    tmpfs   xattr,dev=5780002       1395166361
swap    /var/run        tmpfs   xattr,dev=5780003       1395166361
/dev/dsk/c1t0d0s3       /opt    ufs     rw,intr,largefiles,logging,xattr,onerror=panic,dev=800003       1395166366
-hosts  /net    autofs  nosuid,indirect,ignore,nobrowse,dev=5a40001     1395166380
auto_home       /home   autofs  indirect,ignore,nobrowse,dev=5a40002    1395166380

So Kindly let me know whether this particular disk c1t3d0 is in use or not.

Because if it is in use , we can take the backup of this and do the patching.

2. And also , on one another Server , I see the SVM is also configured..

/dev/md/dsk/d10 /infovista ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=154000a

So in this case ,what we should do after splitting the hardware mirror ,

Thanks and Regards ,
# 7  
Old 01-17-2015
Please post the outputs of all the commands listed by MadeInGermany in post#4. The disk might be in use as swap space.

Also, if your filesystems are ufs, please see this thread

Backup root disks

and in particular my "EXTRA NOTE" on my post. It's important that you dump the snapshotted device.

---------- Post updated at 12:30 PM ---------- Previous update was at 12:20 PM ----------

Why do you still contemplate breaking any mirror in order to do patching? You may be thinking that you can keep an original unpatched copy in case something goes wrong but, generally, it is always more difficult to boot the second copy than you think in these circumstances.

Patching doesn't usually go wrong but, if it does, reinitialising a filesystem and restoring from backup (ufsdump in this case) is usually the easiest and quickest route in my experience.

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Hardware raid patching

Dear All , we have hardware raid 1 implemented on Solaris Disks. We need to patch the Servers. Kindly let me know how to patch hardware raid implemented Servers. Thanks... Rj (7 Replies)
Discussion started by: jegaraman
7 Replies

2. Solaris

Solaris 10 Installation - Disks missing, and Raid

Hey everyone. First, let me start by saying I'm primarily focused on linux boxes, and just happened to get pulled into building two T5220's. I'm not super educated on sun boxes. Both T5220's have 8 146GB 15k SAS drives. Inside the service processor, I can run SHOW /SYS/HDD{0-7} and they all come... (2 Replies)
Discussion started by: msarro
2 Replies

3. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

4. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

5. Solaris

Solaris not recognizing RAID 5 disks

I've just installed Sol 10 Update 9 on a Sun 4140 server and have a RAID 1 configuration (2 136 Gb drives) for the OS and have created a RAID 5 array (6 136 GB) drives. When i log into the system I am unable to see the RAID 5 disks at all. I've tried using the devfsadm command but no luck and... (9 Replies)
Discussion started by: goose25
9 Replies

6. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

7. Solaris

Move disks to different StorEdge, keeping RAID

Hi. I need to move a 5 disk RAID5 array from a SE3310 box to a different SE3310 array. After installing the disks in the "new" StorEdge device, I "would like" ;) to be able have access to the data which is on the RAID. Essentially, the quesion is, how can this be done? :confused: I checked... (5 Replies)
Discussion started by: alexs77
5 Replies

8. Red Hat

IBM RAID disks

We have a Red Hat linux server running on IBM x445 hardware. There are external disks in an IBM EXP300 disk enclosure. The system is running RAID 5. One of the four IBM disks (73.4 GB 10k FRU 06P5760) has become faulty. The system is still up and running OK because of the RAID. In that same EXP300... (3 Replies)
Discussion started by: pdudley
3 Replies

9. Solaris

Hardware RAID

I don't understood why on SPARC-Platforms have not present RAID-Controller ? Sorry for my bad english, but it's crazy always setup software RAID !!! I whanna Hardware RAID and when i can find solution ? (7 Replies)
Discussion started by: jess_t03
7 Replies

Featured Tech Videos