Sponsored Content
Full Discussion: RAID1 and LDoms
Operating Systems Solaris RAID1 and LDoms Post 302285716 by StarSol on Monday 9th of February 2009 02:06:28 PM
Old 02-09-2009
Quote:
Originally Posted by pupp
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.
js-client_t5220 is the control domain; and I confirm that I am rebooting the control domain and the control domain is failing to come online with the errors reported earlier. I did not spend much time trying to fix it using fsck since this is a new server so I did re-jumpstart the server (control domain and guest domains) and things are up and running well now. I did not reboot yet but I will make sure all guest domains are in "inactive" state before I reboot the control domain.
Quote:
Originally Posted by taran
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)?
root.js-client_t5220# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/md/dsk/d20 - - swap - no -
/dev/md/dsk/d10 /dev/md/rdsk/d10 / ufs 1 no -
/dev/md/dsk/d40 /dev/md/rdsk/d40 /export/home/hlr ufs 2 yes -
/dev/md/dsk/d60 /dev/md/rdsk/d60 /export/home/mrf ufs 2 yes -
/dev/md/dsk/d70 /dev/md/rdsk/d70 /export/home/msc ufs 2 yes -
/dev/md/dsk/d50 /dev/md/rdsk/d50 /export/home/sgw ufs 2 yes -
/devices - /devices devfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
root.js-client_t5220#
root.js-client_t5220# ldm list
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 4 4G 1.6% 2d 22h 22m
hlr bound ------ 801 8 4G
mrf bound ------ 803 4 1G
msc bound ------ 802 8 4G
sgw bound ------ 804 4 1G
root.js-client_t5220# ldm list-bindings -p
VERSION 1.4
DOMAIN|name=primary|state=active|flags=normal,control,vio-service|cons=SP|ncpu=4|mem=4294967296|util=0.2|uptime=253340
MAC|mac-addr=00:14:4f:d4:a5:44
HOSTID|hostid=0x84d4a544
VCPU
|vid=0|pid=0|util=2.4%|strand=100
|vid=1|pid=1|util=0.1%|strand=100
|vid=2|pid=2|util=0.2%|strand=100
|vid=3|pid=3|util=0.1%|strand=100
MAU
|id=0|cpuset=0,1,2,3,4,5,6,7
MEMORY
|ra=0x8000000|pa=0x8000000|size=4294967296
VARIABLES
|boot-device=/pci@0/pci@0/pci@2/scsi@0/disk@0,0:a disk net
|keyboard-layout=US-English
IO
|dev=pci@0|alias=pci
|dev=niu@80|alias=niu
VCC|name=primary-vcc0|port-range=801-850
|client=hlr@primary-vcc0|port=801
|client=msc@primary-vcc0|port=802
|client=mrf@primary-vcc0|port=803
|client=sgw@primary-vcc0|port=804
VSW|name=primary-vsw0|mac-addr=00:14:4f:fa:e3:84|net-dev=e1000g0|dev=switch@0|default-vlan-id=1|pvid=1|vid=|mode=
|peer=vnet1@hlr|mac-addr=00:14:4f:fb:7e:09|pvid=1|vid=
|peer=vnet1@msc|mac-addr=00:14:4f:fa:63:e4|pvid=1|vid=
|peer=vnet1@mrf|mac-addr=00:14:4f:f8:53:75|pvid=1|vid=
|peer=vnet1@sgw|mac-addr=00:14:4f:f8:3c:08|pvid=1|vid=
VDS|name=primary-vds0
|vol=vol7|opts=|dev=/dev/md/dsk/d70|mpgroup=
|vol=vol5|opts=|dev=/dev/md/dsk/d50|mpgroup=
|vol=vol4|opts=|dev=/dev/md/dsk/d40|mpgroup=
|vol=vol6|opts=|dev=/dev/md/dsk/d60|mpgroup=
|client=vdisk1@hlr|vol=vol4
|client=vdisk1@msc|vol=vol7
|client=vdisk1@mrf|vol=vol6
|client=vdisk1@sgw|vol=vol5
VCONS|type=SP
DOMAIN|name=hlr|state=bound|flags=|cons=801|ncpu=8|mem=4294967296|util=|uptime=
MAC|mac-addr=00:14:4f:fb:41:e5
HOSTID|hostid=0x84fb41e5
VCPU
|vid=0|pid=4|util=0|strand=100
|vid=1|pid=5|util=0|strand=100
|vid=2|pid=6|util=0|strand=100
|vid=3|pid=7|util=0|strand=100
|vid=4|pid=8|util=0|strand=100
|vid=5|pid=9|util=0|strand=100
|vid=6|pid=10|util=0|strand=100
|vid=7|pid=11|util=0|strand=100
MEMORY
|ra=0x8000000|pa=0x108000000|size=4294967296
VARIABLES
|boot-device=/virtual-devices@100/channel-devices@200/disk@0:a vdisk
|keyboard-layout=US-English
VNET|name=vnet1|dev=network@0|service=primary-vsw0@primary|mac-addr=00:14:4f:fb:7e:09|mode=|pvid=1|vid=
|peer=primary-vsw0@primary|mac-addr=00:14:4f:fa:e3:84|mode=|pvid=1|vid=
|peer=vnet1@msc|mac-addr=00:14:4f:fa:63:e4|mode=|pvid=1|vid=
|peer=vnet1@mrf|mac-addr=00:14:4f:f8:53:75|mode=|pvid=1|vid=
|peer=vnet1@sgw|mac-addr=00:14:4f:f8:3c:08|mode=|pvid=1|vid=
VDISK|name=vdisk1|vol=vol4@primary-vds0|timeout=|dev=disk@0|server=primary|mpgroup=
VCONS|group=hlr|service=primary-vcc0@primary|port=801
DOMAIN|name=mrf|state=bound|flags=|cons=803|ncpu=4|mem=1073741824|util=|uptime=
MAC|mac-addr=00:14:4f:fb:d2:01
HOSTID|hostid=0x84fbd201
VCPU
|vid=0|pid=20|util=0|strand=100
|vid=1|pid=21|util=0|strand=100
|vid=2|pid=22|util=0|strand=100
|vid=3|pid=23|util=0|strand=100
MEMORY
|ra=0x8000000|pa=0x308000000|size=1073741824
VARIABLES
|boot-device=/virtual-devices@100/channel-devices@200/disk@0:a vdisk
|keyboard-layout=US-English
VNET|name=vnet1|dev=network@0|service=primary-vsw0@primary|mac-addr=00:14:4f:f8:53:75|mode=|pvid=1|vid=
|peer=primary-vsw0@primary|mac-addr=00:14:4f:fa:e3:84|mode=|pvid=1|vid=
|peer=vnet1@hlr|mac-addr=00:14:4f:fb:7e:09|mode=|pvid=1|vid=
|peer=vnet1@msc|mac-addr=00:14:4f:fa:63:e4|mode=|pvid=1|vid=
|peer=vnet1@sgw|mac-addr=00:14:4f:f8:3c:08|mode=|pvid=1|vid=
VDISK|name=vdisk1|vol=vol6@primary-vds0|timeout=|dev=disk@0|server=primary|mpgroup=
VCONS|group=mrf|service=primary-vcc0@primary|port=803
DOMAIN|name=msc|state=bound|flags=|cons=802|ncpu=8|mem=4294967296|util=|uptime=
MAC|mac-addr=00:14:4f:f8:dc:63
HOSTID|hostid=0x84f8dc63
VCPU
|vid=0|pid=12|util=0|strand=100
|vid=1|pid=13|util=0|strand=100
|vid=2|pid=14|util=0|strand=100
|vid=3|pid=15|util=0|strand=100
|vid=4|pid=16|util=0|strand=100
|vid=5|pid=17|util=0|strand=100
|vid=6|pid=18|util=0|strand=100
|vid=7|pid=19|util=0|strand=100
MEMORY
|ra=0x8000000|pa=0x208000000|size=4294967296
VARIABLES
|boot-device=/virtual-devices@100/channel-devices@200/disk@0:a vdisk
|keyboard-layout=US-English
VNET|name=vnet1|dev=network@0|service=primary-vsw0@primary|mac-addr=00:14:4f:fa:63:e4|mode=|pvid=1|vid=
|peer=primary-vsw0@primary|mac-addr=00:14:4f:fa:e3:84|mode=|pvid=1|vid=
|peer=vnet1@hlr|mac-addr=00:14:4f:fb:7e:09|mode=|pvid=1|vid=
|peer=vnet1@mrf|mac-addr=00:14:4f:f8:53:75|mode=|pvid=1|vid=
|peer=vnet1@sgw|mac-addr=00:14:4f:f8:3c:08|mode=|pvid=1|vid=
VDISK|name=vdisk1|vol=vol7@primary-vds0|timeout=|dev=disk@0|server=primary|mpgroup=
VCONS|group=msc|service=primary-vcc0@primary|port=802
DOMAIN|name=sgw|state=bound|flags=|cons=804|ncpu=4|mem=1073741824|util=|uptime=
MAC|mac-addr=00:14:4f:fb:24:ad
HOSTID|hostid=0x84fb24ad
VCPU
|vid=0|pid=24|util=0|strand=100
|vid=1|pid=25|util=0|strand=100
|vid=2|pid=26|util=0|strand=100
|vid=3|pid=27|util=0|strand=100
MEMORY
|ra=0x8000000|pa=0x348000000|size=1073741824
VARIABLES
|boot-device=/virtual-devices@100/channel-devices@200/disk@0:a vdisk
|keyboard-layout=US-English
VNET|name=vnet1|dev=network@0|service=primary-vsw0@primary|mac-addr=00:14:4f:f8:3c:08|mode=|pvid=1|vid=
|peer=primary-vsw0@primary|mac-addr=00:14:4f:fa:e3:84|mode=|pvid=1|vid=
|peer=vnet1@hlr|mac-addr=00:14:4f:fb:7e:09|mode=|pvid=1|vid=
|peer=vnet1@msc|mac-addr=00:14:4f:fa:63:e4|mode=|pvid=1|vid=
|peer=vnet1@mrf|mac-addr=00:14:4f:f8:53:75|mode=|pvid=1|vid=
VDISK|name=vdisk1|vol=vol5@primary-vds0|timeout=|dev=disk@0|server=primary|mpgroup=
VCONS|group=sgw|service=primary-vcc0@primary|port=804
root.js-client_t5220#
And to answer your question, I have a guest domain for each directory that is assigned to a slice and each is named after an application I will be installing in that domain and each slice is mounted to dx for RAID1 mirroring; e.g. slice /export/home/sgw is mount to d50. d5 is a mirror and has two members as you can see below:
root.js-client_t5220# metastat -c
d70 m 11GB d71 d72
d71 s 11GB c0t0d0s7
d72 s 11GB c0t1d0s7
d60 m 10GB d61 d62
d61 s 10GB c0t0d0s6
d62 s 10GB c0t1d0s6
d40 m 15GB d41 d42
d41 s 15GB c0t0d0s4
d42 s 15GB c0t1d0s4
d20 m 8.0GB d21 d22
d21 s 8.0GB c0t0d0s1
d22 s 8.0GB c0t1d0s1
d10 m 8.0GB d11 d12
d11 s 8.0GB c0t0d0s0
d12 s 8.0GB c0t1d0s0
d50 m 10GB d51 d52
d51 s 10GB c0t0d0s5
d52 s 10GB c0t1d0s5
root.js-client_t5220#
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy