Hi
I would like to remove SAN luns from system and do not want them even after system reboot,
format
Searching for disks...done
Quote:
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000087151713,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000087140f53,0
2. c5t6006016037A11600A0D624F5AB95DB11d0 <DGC-RAID5-0219 cyl 61438 alt 2 hd 256 sec 20>
/scsi_vhci/ssd@g6006016037a11600a0d624f5ab95db11
3. c5t6006016037A11600D453FF1DA0F2DA11d0 <DGC-RAID5-0219 cyl 51198 alt 2 hd 256 sec 16>
/scsi_vhci/ssd@g6006016037a11600d453ff1da0f2da11
4. c5t6006016037A11600FA274402AC95DB11d0 <DGC-RAID5-0219 cyl 40958 alt 2 hd 256 sec 10>
/scsi_vhci/ssd@g6006016037a11600fa274402ac95db11
5. c5t6006016037A11600FB274402AC95DB11d0 <DGC-RAID5-0219 cyl 40958 alt 2 hd 256 sec 10>
/scsi_vhci/ssd@g6006016037a11600fb274402ac95db11
6. c5t6006016037A11600FC274402AC95DB11d0 <DGC-RAID5-0219 cyl 40958 alt 2 hd 256 sec 10>
/scsi_vhci/ssd@g6006016037a11600fc274402ac95db1
df -kh
Quote:
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/rootvol 19G 11G 8.1G 58% /
/dev/vx/dsk/usr 9.8G 2.5G 7.2G 26% /usr
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
/dev/vx/dsk/var 9.8G 2.3G 7.4G 24% /var
swap 14G 176K 14G 1% /var/run
swap 14G 184K 14G 1% /tmp
/dev/vx/dsk/opt 20G 11G 8.1G 59% /opt
/dev/vx/dsk/bboradg/VOL-OR
45G 2.2G 40G 6% /usr/local/oracle
/dev/vx/dsk/bboradg/VOL-U02
45G 23G 21G 52% /u02
/dev/vx/dsk/bboradg/VOL-U01
45G 11G 32G 25% /u01
/dev/vx/dsk/bboradg/VOLBB
245G 229G 15G 94% /usr/local/application
I know last 4 partitions are from SAN but there could be more.
Can someone please help me correct steps to remove SAN Luns.
vxdisk list
Quote:
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced rootdisk rootdg online
c1t1d0s2 sliced rootmirror rootdg online
fabric_0 sliced sanoradg05 bboradg online
fabric_1 sliced sanoradg01 bboradg online
fabric_2 sliced sanoradg02 bboradg online
fabric_3 sliced sanoradg03 bboradg online
fabric_4 sliced sanoradg04 bboradg online
cfgadm -al
Quote:
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 fc-private connected configured unknown
c1::2100000087140f53 disk connected configured unknown
c1::2100000087151713 disk connected configured unknown
c2 scsi-bus connected unconfigured unknown
c3 scsi-bus connected unconfigured unknown
c4 fc-fabric connected configured unknown
c4::5006016130206b9d disk connected configured unknown
c4::5006016830206b9d disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb0/4 unknown empty unconfigured ok
cfgadm -al -o show_FCP_dev
Quote:
Ap_Id Type Receptacle Occupant Condition
c1 fc-private connected configured unknown
c1::2100000087140f53,0 disk connected configured unknown
c1::2100000087151713,0 disk connected configured unknown
c4 fc-fabric connected configured unknown
c4::5006016130206b9d,0 disk connected configured unknown
c4::5006016130206b9d,1 disk connected configured unknown
c4::5006016130206b9d,2 disk connected configured unknown
c4::5006016130206b9d,3 disk connected configured unknown
c4::5006016130206b9d,4 disk connected configured unknown
c4::5006016830206b9d,0 disk connected configured unknown
c4::5006016830206b9d,1 disk connected configured unknown
c4::5006016830206b9d,2 disk connected configured unknown
c4::5006016830206b9d,3 disk connected configured unknown
c4::5006016830206b9d,4 disk connected configured unknown
luxadm -e port
Quote:
Found path to 2 HBA ports
/devices/pci@8,700000/SUNW,qlc@3/fp@0,0:devctl CONNECTED
/devices/pci@9,600000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
ls -la /dev/cfg
Quote:
total 28
drwxr-xr-x 3 root root 512 Dec 18 2006 .
drwxr-xr-x 17 root sys 6656 Feb 13 23:05 ..
lrwxrwxrwx 1 root root 37 Nov 18 2003 c0 -> ../../devices/pci@8,700000/ide@6:scsi
lrwxrwxrwx 1 root other 47 Nov 19 2003 c1 -> ../../devices/pci@9,600000/SUNW,qlc@2/fp@0,0:fc
lrwxrwxrwx 1 root root 44 Nov 20 2003 c2 -> ../../devices/pci@8,600000/pci@1/scsi@4:scsi
lrwxrwxrwx 1 root root 44 Nov 20 2003 c3 -> ../../devices/pci@8,600000/pci@1/scsi@5:scsi
lrwxrwxrwx 1 root root 47 Dec 18 2006 c4 -> ../../devices/pci@8,700000/SUNW,qlc@3/fp@0,0:fc
drwxr-xr-x 2 root root 512 Dec 21 2005 usb0
I have already stopped Application and oracle running on this system.
now I want to unmount partitions (only from SAN) and remove any configuration for SAN so that reboot will not show the disks or try to mount.
Please help!
Thanks