Hi! Have you put disk on disk group & created file system. mkfs -F vxfs /dev/rdsk/c0d2s0
mkfs -F vxfs -o largefiles /dev/vx/rdsk/localemc/esm Thanks -----Original Message----- From: [email protected] [mailto:ldoms-discuss-bounces at opensolaris.org] On Behalf Of ldoms-discuss-request at opensolaris.org Sent: Friday, June 27, 2008 10:30 AM To: ldoms-discuss at opensolaris.org Subject: ldoms-discuss Digest, Vol 11, Issue 21 Send ldoms-discuss mailing list submissions to ldoms-discuss at opensolaris.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss or, via email, send a message with subject or body 'help' to ldoms-discuss-request at opensolaris.org You can reach the person managing the list at ldoms-discuss-owner at opensolaris.org When replying, please edit your Subject line so it is more specific than "Re: Contents of ldoms-discuss digest..." Today's Topics: 1. Single slice vxvm Vol gives I/O error during newfs (Thivakaran Sivaraman) 2. Query (Sharma, Balkishan (GE, Corporate, consultant)) ---------------------------------------------------------------------- Message: 1 Date: Fri, 27 Jun 2008 07:03:29 PDT From: Thivakaran Sivaraman <[email protected]> Subject: [ldoms-discuss] Single slice vxvm Vol gives I/O error during newfs To: ldoms-discuss at opensolaris.org Message-ID: <16137938.1214575508117.JavaMail.Twebapp at oss-app1> Content-Type: text/plain; charset="utf-8" Hello and good day... Im having problem on the newly configured vdisk. Exporting vxvm as volume works fine in guess domain. However if the vxvm volume is exported with slice options, newfs gives error. Have tried with both mkfs -F vxfs and newfs. Result still lead to I/O error. Going through the doc suggest setting "options=slice" enable the volume for future provisioning. Specification as below: - Sun T5220 - Ldom 1.0.3 - Solaris 10U5 - Veritas Volume Manager 5.0 with MP1 Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 480M 160M 272M 38% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 14G 1.5M 14G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object /dev/dsk/c0d0s5 7.9G 3.2G 4.6G 42% /usr /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1 480M 160M 272M 38% /platform/sun4v/lib/libc_psr.so.1 /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwca p2.so.1 480M 160M 272M 38% /platform/sun4v/lib/sparcv9/libc_psr.so.1 fd 0K 0K 0K 0% /dev/fd /dev/dsk/c0d0s3 4.9G 4.0G 903M 82% /var swap 14G 32K 14G 1% /tmp swap 14G 48K 14G 1% /var/run /dev/dsk/c0d0s4 4.9G 890M 4.0G 18% /opt /dev/dsk/c0d0s6 480M 1.0M 431M 1% /home /dev/dsk/c0d1s0 10G 20M 9.4G 1% /software [b]root at ld2 # mkfs -F vxfs /dev/rdsk/c0d2s0 UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d2s0: I/O error[/b] root at ld2 # ls -l /dev/rdsk total 20 lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h,raw lrwxrwxrwx 1 root root 66 Jun 10 18:11 c0d1s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a,raw lrwxrwxrwx 1 root root 66 Jun 23 12:11 c0d2s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a,raw root at ld2 # ls -l /dev/dsk total 20 lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h lrwxrwxrwx 1 root root 62 Jun 10 18:11 c0d1s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a lrwxrwxrwx 1 root root 62 Jun 23 12:11 c0d2s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a root at ld2 # [b]Control Domain configuration[/b] VDS NAME VOLUME OPTIONS DEVICE primary-vds0 ldom1-vol0 /ldoms/ambgsun62_ld1payroll.img ldom2-vol0 /ldoms/ambgsun51_ld2eipp.img ld1_c1t2d0s0 /dev/dsk/c1t2d0s0 ld2_c1t2d0s1 /dev/dsk/c1t2d0s1 ld1_appl_ldomdg /dev/vx/dsk/ldomdg/ld1_appl ld2_appl_ldomdg slice /dev/vx/dsk/ldomdg/ld2_appl ldm list -l ld2 NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ld2 active -n--- 5000 24 8064M 0.1% 4m SOFTSTATE Solaris running VCPU VID PID UTIL STRAND 0 8 1.1% 100% 1 9 0.3% 100% 2 10 0.2% 100% 3 11 0.0% 100% 4 12 0.5% 100% 5 13 0.2% 100% 6 14 0.1% 100% 7 15 0.1% 100% 8 16 0.4% 100% 9 17 0.1% 100% 10 18 0.0% 100% 11 19 0.0% 100% 12 20 0.0% 100% 13 21 0.0% 100% 14 22 0.0% 100% 15 23 0.0% 100% 16 24 0.3% 100% 17 25 0.0% 100% 18 26 0.0% 100% 19 27 0.0% 100% 20 28 0.0% 100% 21 29 0.0% 100% 22 30 0.0% 100% 23 31 0.0% 100% MEMORY RA PA SIZE 0x8000000 0x208000000 8064M VARIABLES auto-boot?=false boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0 NETWORK NAME SERVICE DEVICE MAC vnet0 primary-vsw4 at primary network at 0 00:14:4f:f9:76:b9 vnet1 primary-vsw5 at primary network at 1 00:14:4f:fb:51:f4 vnet2 primary-vsw6 at primary network at 2 00:14:4f:f9:0a:61 DISK NAME VOLUME TOUT DEVICE SERVER ldom2-vdisk0 ldom2-vol0 at primary-vds0 disk at 0 primary vdisk1 ld2_c1t2d0s1 at primary-vds0 disk at 1 primary vdisk2 ld2_appl_ldomdg at primary-vds0 disk at 2 primary VCONS NAME SERVICE PORT ld2eipp primary-vcc0 at primary 5000 -- This message was posted from opensolaris.org -------------- next part -------------- vdisk - vxvm slice at backend Problem: Cant newfs the vol at guest domain. newfs at control domain is okay root at ambgsun51 # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 480M 160M 272M 38% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 14G 1.5M 14G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object /dev/dsk/c0d0s5 7.9G 3.2G 4.6G 42% /usr /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1 480M 160M 272M 38% /platform/sun4v/lib/libc_psr.so.1 /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwca p2.so.1 480M 160M 272M 38% /platform/sun4v/lib/sparcv9/libc_psr.so.1 fd 0K 0K 0K 0% /dev/fd /dev/dsk/c0d0s3 4.9G 4.0G 903M 82% /var swap 14G 32K 14G 1% /tmp swap 14G 48K 14G 1% /var/run /dev/dsk/c0d0s4 4.9G 890M 4.0G 18% /opt /dev/dsk/c0d0s6 480M 1.0M 431M 1% /home /dev/dsk/c0d1s0 10G 20M 9.4G 1% /software root at ambgsun51 # ls -l /dev/rdsk total 20 lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g,raw lrwxrwxrwx 1 root root 66 May 24 21:46 c0d0s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h,raw lrwxrwxrwx 1 root root 66 Jun 10 18:11 c0d1s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a,raw lrwxrwxrwx 1 root root 66 Jun 23 12:11 c0d2s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a,raw root at ambgsun51 # ls -l /dev/dsk total 20 lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:a lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:b lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:c lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:d lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:e lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:f lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:g lrwxrwxrwx 1 root root 62 May 24 21:46 c0d0s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 0:h lrwxrwxrwx 1 root root 62 Jun 10 18:11 c0d1s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 1:a lrwxrwxrwx 1 root root 62 Jun 23 12:11 c0d2s0 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:a root at ambgsun51 # root at ambgsun51 # mkfs -F vxfs /dev/rdsk/c0d2s0 UX:vxfs mkfs: ERROR: V-3-20003: Cannot open /dev/rdsk/c0d2s0: I/O error Control domain root at ambgcdp02 # ldm list-services VCC NAME PORT-RANGE primary-vcc0 5000-5100 VSW NAME MAC NET-DEV DEVICE MODE primary-vsw0 00:14:4f:fa:3b:a7 e1000g0 switch at 0 primary-vsw1 00:14:4f:f8:25:3d e1000g1 switch at 1 primary-vsw2 00:14:4f:f9:1a:d9 e1000g2 switch at 2 primary-vsw3 00:14:4f:fa:f9:a9 e1000g3 switch at 3 primary-vsw4 00:14:4f:f9:75:17 nxge0 switch at 4 primary-vsw5 00:14:4f:fb:d7:17 nxge1 switch at 5 primary-vsw6 00:14:4f:fa:b1:4a nxge2 switch at 6 VDS NAME VOLUME OPTIONS DEVICE primary-vds0 ldom1-vol0 /ldoms/ambgsun62_ld1payroll.img ldom2-vol0 /ldoms/ambgsun51_ld2eipp.img ld1_c1t2d0s0 /dev/dsk/c1t2d0s0 ld2_c1t2d0s1 /dev/dsk/c1t2d0s1 ld1_appl_ldomdg /dev/vx/dsk/ldomdg/ld1_appl ld2_appl_ldomdg slice /dev/vx/dsk/ldomdg/ld2_appl root at ambgcdp02 # ldm list -l ld2eipp NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ld2eipp active -n--- 5000 24 8064M 0.1% 4m SOFTSTATE Solaris running VCPU VID PID UTIL STRAND 0 8 1.1% 100% 1 9 0.3% 100% 2 10 0.2% 100% 3 11 0.0% 100% 4 12 0.5% 100% 5 13 0.2% 100% 6 14 0.1% 100% 7 15 0.1% 100% 8 16 0.4% 100% 9 17 0.1% 100% 10 18 0.0% 100% 11 19 0.0% 100% 12 20 0.0% 100% 13 21 0.0% 100% 14 22 0.0% 100% 15 23 0.0% 100% 16 24 0.3% 100% 17 25 0.0% 100% 18 26 0.0% 100% 19 27 0.0% 100% 20 28 0.0% 100% 21 29 0.0% 100% 22 30 0.0% 100% 23 31 0.0% 100% MEMORY RA PA SIZE 0x8000000 0x208000000 8064M VARIABLES auto-boot?=false boot-device=/virtual-devices at 100/channel-devices at 200/disk at 0 NETWORK NAME SERVICE DEVICE MAC vnet0 primary-vsw4 at primary network at 0 00:14:4f:f9:76:b9 vnet1 primary-vsw5 at primary network at 1 00:14:4f:fb:51:f4 vnet2 primary-vsw6 at primary network at 2 00:14:4f:f9:0a:61 DISK NAME VOLUME TOUT DEVICE SERVER ldom2-vdisk0 ldom2-vol0 at primary-vds0 disk at 0 primary vdisk1 ld2_c1t2d0s1 at primary-vds0 disk at 1 primary vdisk2 ld2_appl_ldomdg at primary-vds0 disk at 2 primary VCONS NAME SERVICE PORT ld2eipp primary-vcc0 at primary 5000 root at ambgsun51 # init 0 root at ambgsun51 # svc.startd: The system is coming down. Please wait. svc.startd: 100 system services are now being stopped. Jun 27 15:51:33 ambgsun51 syslogd: going down on signal 15 umount: /opt busy svc.startd: The system is down. syncing file systems... done Program terminated r)eboot, o)k prompt, h)alt? h telnet> quit Connection to localhost closed. root at ambgcdp02 # ldm list NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv SP 8 8G 0.3% 15m ld2eipp bound ----- 5000 24 8064M ld1payroll inactive ----- 32 16G root at ambgcdp02 # ldm unbind ld1payroll LDom ld1payroll cannot be unbound because it is inactive root at ambgcdp02 # ldm unbind ld2eipp root at ambgcdp02 # ldm list NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv SP 8 8G 0.4% 16m ld1payroll inactive ----- 32 16G ld2eipp inactive ----- 24 8064M root at ambgcdp02 # ldm list-services VCC NAME PORT-RANGE primary-vcc0 5000-5100 VSW NAME MAC NET-DEV DEVICE MODE primary-vsw0 00:14:4f:fa:3b:a7 e1000g0 switch at 0 primary-vsw1 00:14:4f:f8:25:3d e1000g1 switch at 1 primary-vsw2 00:14:4f:f9:1a:d9 e1000g2 switch at 2 primary-vsw3 00:14:4f:fa:f9:a9 e1000g3 switch at 3 primary-vsw4 00:14:4f:f9:75:17 nxge0 switch at 4 primary-vsw5 00:14:4f:fb:d7:17 nxge1 switch at 5 primary-vsw6 00:14:4f:fa:b1:4a nxge2 switch at 6 VDS NAME VOLUME OPTIONS DEVICE primary-vds0 ldom1-vol0 /ldoms/ambgsun62_ld1payroll.img ldom2-vol0 /ldoms/ambgsun51_ld2eipp.img ld1_c1t2d0s0 /dev/dsk/c1t2d0s0 ld2_c1t2d0s1 /dev/dsk/c1t2d0s1 ld1_appl_ldomdg /dev/vx/dsk/ldomdg/ld1_appl ld2_appl_ldomdg slice /dev/vx/dsk/ldomdg/ld2_appl root at ambgcdp02 # mkfs -F vxfs /dev/vx/rdsk/ldomdg/ld2_appl version 7 layout 83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks largefiles supported root at ambgcdp02 # root at ambgcdp02 # mkfs -F vxfs /dev/vx/rdsk/ldomdg/ld2_appl version 7 layout 83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks largefiles supported root at ambgcdp02 # mkfs -F vxfs /dev/vx/rdsk/ldomdg/ld2_appl version 7 layout 83785728 sectors, 41892864 blocks of size 1024, log size 65536 blocks largefiles supported root at ambgcdp02 # ldm list-services VCC NAME PORT-RANGE primary-vcc0 5000-5100 VSW NAME MAC NET-DEV DEVICE MODE primary-vsw0 00:14:4f:fa:3b:a7 e1000g0 switch at 0 primary-vsw1 00:14:4f:f8:25:3d e1000g1 switch at 1 primary-vsw2 00:14:4f:f9:1a:d9 e1000g2 switch at 2 primary-vsw3 00:14:4f:fa:f9:a9 e1000g3 switch at 3 primary-vsw4 00:14:4f:f9:75:17 nxge0 switch at 4 primary-vsw5 00:14:4f:fb:d7:17 nxge1 switch at 5 primary-vsw6 00:14:4f:fa:b1:4a nxge2 switch at 6 VDS NAME VOLUME OPTIONS DEVICE primary-vds0 ldom1-vol0 /ldoms/ambgsun62_ld1payroll.img ldom2-vol0 /ldoms/ambgsun51_ld2eipp.img ld1_c1t2d0s0 /dev/dsk/c1t2d0s0 ld2_c1t2d0s1 /dev/dsk/c1t2d0s1 ld1_appl_ldomdg /dev/vx/dsk/ldomdg/ld1_appl ld2_appl_ldomdg slice /dev/vx/dsk/ldomdg/ld2_appl root at ambgcdp02 # ldm set-vdsdev options= ld2_appl_ldomdg at primary-vds0 root at ambgcdp02 # ldm list-services VCC NAME PORT-RANGE primary-vcc0 5000-5100 VSW NAME MAC NET-DEV DEVICE MODE primary-vsw0 00:14:4f:fa:3b:a7 e1000g0 switch at 0 primary-vsw1 00:14:4f:f8:25:3d e1000g1 switch at 1 primary-vsw2 00:14:4f:f9:1a:d9 e1000g2 switch at 2 primary-vsw3 00:14:4f:fa:f9:a9 e1000g3 switch at 3 primary-vsw4 00:14:4f:f9:75:17 nxge0 switch at 4 primary-vsw5 00:14:4f:fb:d7:17 nxge1 switch at 5 primary-vsw6 00:14:4f:fa:b1:4a nxge2 switch at 6 VDS NAME VOLUME OPTIONS DEVICE primary-vds0 ldom1-vol0 /ldoms/ambgsun62_ld1payroll.img ldom2-vol0 /ldoms/ambgsun51_ld2eipp.img ld1_c1t2d0s0 /dev/dsk/c1t2d0s0 ld2_c1t2d0s1 /dev/dsk/c1t2d0s1 ld1_appl_ldomdg /dev/vx/dsk/ldomdg/ld1_appl ld2_appl_ldomdg /dev/vx/dsk/ldomdg/ld2_appl root at ambgcdp02 # ldm bind ld2eipp root at ambgcdp02 # ldm start ld2eipp LDom ld2eipp started root at ambgcdp02 # telnet localhost 5000 Trying ::1... telnet: connect to address ::1: Network is unreachable Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connecting to console "ld2eipp" in group "ld2eipp" .... Press ~? for control options .. {0} ok boot Boot device: /virtual-devices at 100/channel-devices at 200/disk at 0 File and args: SunOS Release 5.10 Version Generic_127127-11 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: ambgsun51 /dev/rdsk/c0d0s6 is clean /dev/rdsk/c0d0s4 is clean ambgsun51 console login: root Password: Jun 27 15:55:45 ambgsun51 login: ROOT LOGIN /dev/console Last login: Fri Jun 27 15:44:35 on console Sun Microsystems Inc. SunOS 5.10 Generic January 2005 You have new mail. Sourcing //.profile-EIS..... root at ambgsun51 # devfsadm -Cv devfsadm[923]: verbose: symlink /dev/dsk/c0d2s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:b devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s1 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:b,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:c devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s2 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:c,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:d devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s3 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:d,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:e devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s4 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:e,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:f devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s5 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:f,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:g devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s6 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:g,raw devfsadm[923]: verbose: symlink /dev/dsk/c0d2s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:h devfsadm[923]: verbose: symlink /dev/rdsk/c0d2s7 -> ../../devices/virtual-devices at 100/channel-devices at 200/disk at 2:h,raw root at ambgsun51 # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <SUN-DiskImage-30GB cyl 39319 alt 2 hd 1 sec 1600> /virtual-devices at 100/channel-devices at 200/disk at 0 1. c0d2 <SUN-DiskImage-39GB cyl 8568 alt 2 hd 1 sec 9776> /virtual-devices at 100/channel-devices at 200/disk at 2 Specify disk (enter its number): ^D root at ambgsun51 # format -d c0d2 Searching for disks...done selecting c0d2 [disk formatted, no defect list found] FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector show - translate a disk address label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> p PARTITION MENU: 0 - change `0' partition 1 - change `1' partition 2 - change `2' partition 3 - change `3' partition 4 - change `4' partition 5 - change `5' partition 6 - change `6' partition 7 - change `7' partition select - select a predefined table modify - modify a predefined partition table name - name the current table print - display the current table label - write partition map and label to the disk !<cmd> - execute <cmd>, then return quit partition> p Current partition table (original): Total disk cylinders available: 8568 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 unassigned wm 0 - 8567 39.94GB (8568/0/0) 83760768 1 unassigned wm 0 0 (0/0/0) 0 2 backup wm 0 - 8567 39.94GB (8568/0/0) 83760768 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 unassigned wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 partition> q FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector show - translate a disk address label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit format> q root at ambgsun51 # mkfs -F vxfs /dev/rdsk/c0d2s0 version 7 layout 83760768 sectors, 41880384 blocks of size 1024, log size 65536 blocks largefiles supported root at ambgsun51 # mount /dev/dsk/c0d2s0 /appl Jun 27 15:56:34 ambgsun51 ufs: NOTICE: mount: not a UFS magic number (0x0) mount: /dev/dsk/c0d2s0 is not this fstype root at ambgsun51 # mount -F vxfs /dev/dsk/c0d2s0 /appl root at ambgsun51 # df -h Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s0 480M 160M 272M 38% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 14G 1.3M 14G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object /dev/dsk/c0d0s5 7.9G 3.2G 4.6G 42% /usr /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr/libc_psr_hwcap2.so.1 480M 160M 272M 38% /platform/sun4v/lib/libc_psr.so.1 /platform/SUNW,SPARC-Enterprise-T5220/lib/sparcv9/libc_psr/libc_psr_hwca p2.so.1 480M 160M 272M 38% /platform/sun4v/lib/sparcv9/libc_psr.so.1 fd 0K 0K 0K 0% /dev/fd /dev/dsk/c0d0s3 4.9G 4.0G 903M 82% /var swap 14G 32K 14G 1% /tmp swap 14G 48K 14G 1% /var/run /dev/dsk/c0d0s4 4.9G 890M 4.0G 18% /opt /dev/dsk/c0d0s6 480M 1.0M 431M 1% /home /dev/dsk/c0d1s0 10G 20M 9.4G 1% /software /dev/dsk/c0d2s0 40G 75M 37G 1% /appl root at ambgsun51 # ------------------------------ Message: 2 Date: Fri, 27 Jun 2008 10:25:51 -0400 From: "Sharma, Balkishan (GE, Corporate, consultant)" <Balkishan.Sharma at ge.com> Subject: [ldoms-discuss] Query To: <ldoms-discuss at opensolaris.org> Message-ID: <098E39D3808AC64DA2B596BFD1EE62941037FE6C at CINMLVEM17.e2k.ad.ge.com> Content-Type: text/plain; charset="us-ascii" Hi! I have a question regarding creating a file system on guest domain. I have two emc disks which I can see on service controller/physical server. I can create zfs file system & export on guest domain, which I don't want. I want to export whole disk on guest domain & create zpool on guest domain to create file system. I have the requirement to create 20 file system on guest domain. If I create file system on service control & export on guest domain which would be more complex architecture. Please send me recipe if you have tested/created file system, the way I am looking. Thanks, Balkishan Sharma -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20080627 /1cd7e250/attachment.html ------------------------------ _______________________________________________ ldoms-discuss mailing list ldoms-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss End of ldoms-discuss Digest, Vol 11, Issue 21 *********************************************
