RAID1 and LDoms


 
Thread Tools Search this Thread
Operating Systems Solaris RAID1 and LDoms
# 1  
Old 02-04-2009
RAID1 and LDoms

I have a Netra T5220 Solaris 10 server with LDoms installed and enabled. RAID1 is enabled in the control domain with the following slices:

d50 -m d51 d52 1
d51 1 1 c1t0d0s5
d52 1 1 c1t1d0s5
d10 -m d11 d12 1
d11 1 1 c1t0d0s0
d12 1 1 c1t1d0s0
d20 -m d21 d22 1
d21 1 1 c1t0d0s1
d22 1 1 c1t1d0s1
d40 -m d41 d42 1
d41 1 1 c1t0d0s4
d42 1 1 c1t1d0s4
d60 -m d61 d62 1
d61 1 1 c1t0d0s6
d62 1 1 c1t1d0s6
d70 -m d71 d72 1
d71 1 1 c1t0d0s7
d72 1 1 c1t1d0s7

Each slice has a guest domain built. In other words, when the guest domain is built, something similar to /dev/md/dsk/d30 is assigned; the commands look like:

# ldm add-vdsdev /dev/md/dsk/d70 vol7@primary-vds0
# ldm add-vdisk vdisk1 vol7@primary-vds0 ldg1

My question is whether there is an issue with having LDoms and RAID1 at the same time? The reason I am asking is, after I am done with the control domain and guest domains cofguration, and metast looks good, once I reboot the control domain I get an error:

Hostname: control_dom
/dev/md/rdsk/d40 is clean
/dev/md/rdsk/d70 is clean
checking ufs filesystems
/dev/md/rdsk/d50: PARTIALLY ALLOCATED INODE I=2
/dev/md/rdsk/d50: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
/dev/md/rdsk/d60: NEGATIVE SIZE -5476372287601639394 I=2
/dev/md/rdsk/d60: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
THE FOLLOWING FILE SYSTEM(S) HAD AN UNEXPECTED INCONSISTENCY: /dev/md/rdsk/d50 (/exp ort/home/sgw), /dev/md/rdsk/d60 (/export/home/mrf)
fsckall failed with exit code 1.
WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).
mount: Please run fsck and try again
mount: Please run fsck and try again
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Feb 4 09:52:41 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Feb 4 09:52:42 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

After that, ldm commands returns "Failed to connect to logical domain manager: Connection refused". Running fsck does not help; it even makes thing worse. Appreciate your help...
# 2  
Old 02-05-2009
Hi,

before y reboot the control domain, stop the guest domains
# 3  
Old 02-05-2009
I tend to agree with you but my understanding from Sun documentation is that guest domain should not be affected when the control domain is rebooted or down. The only thing is that we won't be able to manage the guest domain when the control domain is not available. I noticed though when the control domain is down, guest domain response becomes very slow (to typing commands, etc.)!
# 4  
Old 02-06-2009
hi,

no, if y have only 1 io/service/control-domain and y reboot this domain, all guest domain lost his virtuell devices (vdisk, vnet ... ). With 1 io/service/control-domain y must shutdown the guest domain before y reboot the control domain.

Y want active guest domains, if y reboot the control domain. Then y need for example T5240 with 2 BUS controler and 2 io-domains.

Last edited by taran; 02-06-2009 at 04:25 AM..
# 5  
Old 02-06-2009
I did stop all the guest domains (their status was in "bound" state); and got the same error! It is very time consuming cause I have to re-install the whole thing again.

{0} ok boot
Boot device: /pci@0/pci@0/pci@2/scsi@0/disk@0,0:a File and args:
SunOS Release 5.10 Version Generic_138888-03 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: js-client_t5220
/dev/md/rdsk/d40 is clean
/dev/md/rdsk/d70 is clean
checking ufs filesystems
/dev/md/rdsk/d50: PARTIALLY ALLOCATED INODE I=2
/dev/md/rdsk/d50: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
/dev/md/rdsk/d60: PARTIALLY ALLOCATED INODE I=2
/dev/md/rdsk/d60: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

THE FOLLOWING FILE SYSTEM(S) HAD AN UNEXPECTED INCONSISTENCY: /dev/md/rdsk/d50 (/export/home/sgw), /dev /md/rdsk/d60 (/export/home/mrf)
fsckall failed with exit code 1.

WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).

mount: Please run fsck and try again
mount: Please run fsck and try again
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Feb 6 09:29:11 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Feb 6 09:29:11 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintena nce (see 'svcs -xv' for details)

js-client_t5220 console login: root
Password:
Last login: Thu Feb 5 14:59:40 on console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
You have new mail.
root.js-client_t5220# ldm list
Failed to connect to logical domain manager: Connection refused

Last edited by StarSol; 02-06-2009 at 06:05 PM..
# 6  
Old 02-07-2009
is js-client_t5220 the guest ldom? you are rebooting the control domain and the control domain is failing to come online?

only thing i can think of is stop the guest domains, tear down d50, d60, boot off cdrom single user, fsck the rdsk's of d50 and d60, run this several times to see if it repairs, mount root fs, remove md's d50 and d60 from vfstab and then reboot. see if you can get a stable os. make sure the guest ldoms don't come up because they will obviously be looking for the metadevices.

i'm not sure about ldom's because i haven't had the pleasure of working with them as of yet but i'm just thinking of this as if a stand alone sol10 install wasn't working after a reboot with metadevices.
# 7  
Old 02-09-2009
hi,

can y show me y /etc/vfstab and `ldm list-bindings -p`

and why y have mount d50 (/export/home/sgw) or d60 (/export/home/mrf)?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Samba share on software raid1

Hello! i am having a ubuntu server with two empty disks and connected software raid1 to it. I am having /mnt/raid folder which i created to mount it. SO should i now make a share folder inside that or what? I ama bit confused when a raid is present. (27 Replies)
Discussion started by: tomislav91
27 Replies

2. Ubuntu

Ubuntu desktop RAID1 boot problem.

Hello, I installed ubuntu desktop just recently in aim to create a RAID1 configuration using software RAID MDADM. I have the following configuration as fdisk -l reports: Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size... (5 Replies)
Discussion started by: Reol
5 Replies

3. Solaris

Moving to RAID1

Is there an easy, safe way to move the system to RAID1 on sparc solaris 10? (without reinstalling). thanks. (6 Replies)
Discussion started by: orange47
6 Replies

4. Linux

raid1 (dmraid) - bad sectors - mount - smartd - complicated!

Hello, i'm running a server with two disks in raid1.. it seems that some bad sectors have recently appeared on one of the disks. Aug 9 08:26:19 linux smartd: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW! Aug 9 08:26:19 linux smartd: Device: /dev/sda, 2 Currently... (0 Replies)
Discussion started by: TehOne
0 Replies

5. Linux

SPARC, Linux, RAID1, SILO

Hi, I've been searching for answers for two days and didn't find any definite answers on building RAID1 on SPARC. The main problem was with SILO (Sparc Improved boot LOader): can it boot from RAID partition or not. So I just tried it and it works. I've done this on Debian, but it should be... (0 Replies)
Discussion started by: Luka
0 Replies

6. Filesystems, Disks and Memory

Solaris 10 Raid1

does anyone k ow the answer to this? OS solaris 10 using the command raidctl -c c1t0d0 c1t1d0, this took about 4 mins to return to the prompt with "Volume c1t0d0 is created successfully!" then using format I saw AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>... (1 Reply)
Discussion started by: powerrack
1 Replies

7. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

8. AIX

rootvg and hardware raid1

Good Morning, We have a JS22 blade that we will be loading AIX5.3 onto it. We just discovered that the JS22 will only support one drive, so we are planning on booting this blade from the Fiber Channel SAN. Orginally we used 2 physical drives and set up RAID 1 and presented the logical drive... (0 Replies)
Discussion started by: brachinus
0 Replies

9. Filesystems, Disks and Memory

Pulling a drive on RAID1 hangs system

I'm setting up a server with software RAID1, and everything is working perfectly, except that when I pull either of the drives, the system completely hangs and has to be rebooted. The computer is a Tyan Transport GX28, which is alleged to have hot-swappable SATA. I can fail a drive and the system... (1 Reply)
Discussion started by: vertigo23
1 Replies

10. UNIX for Dummies Questions & Answers

How can i set up Software disk mirroring(Raid1) in SCO 5.0.5 with two SCSI harddisk ?

thank u very much, (1 Reply)
Discussion started by: coralsea
1 Replies
Login or Register to Ask a Question