Solaris Migration
July 20, 2016 | Author: rupeshpra143 | Category: N/A
Short Description
Solaris MigrationSolaris MigrationSolaris MigrationSolaris MigrationSolaris MigrationSolaris MigrationSolaris MigrationS...
Description
login as: root Using keyboard-interactive authentication. Password: Last login: Mon May 28 12:07:21 2012 from 192.168.10.226 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # bash bash-3.00# defsadm~ bash: defsadm~: command not found bash-3.00# defsadm bash: defsadm: command not found bash-3.00# devfsadm bash-3.00# luxadm -e port /devices/pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0:devctl CONNECTED bash-3.00# cfgadm -al Ap_Id Type Receptacle Occupant Condition c2 fc-fabric connected configured unknown c2::500601613021d1f7 disk connected configured unknown c2::500601693021d1f7 disk connected configured unknown usb0/1 unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok usb1/1 unknown empty unconfigured ok usb1/2 unknown empty unconfigured ok usb2/1 unknown empty unconfigured ok usb2/2 unknown empty unconfigured ok usb3/1 unknown empty unconfigured ok usb3/2 unknown empty unconfigured ok usb3/3 unknown empty unconfigured ok usb3/4 unknown empty unconfigured ok usb3/5 unknown empty unconfigured ok usb3/6 unknown empty unconfigured ok bash-3.00# format Searching for disks... The device does not support mode page 3 or page 4, or the reported geometry info is invalid. WARNING: Disk geometry is based on capacity data. The current rpm value 0 is invalid, adjusting it to 3600 Error: can't open selected disk '/dev/rdsk/c2t500601613021D1F7d0p0'. done c2t500601613021D1F7d0: configured with capacity of 1022.00MB AVAILABLE DISK SELECTIONS: 0. c1d0 /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0 1. c2t500601613021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601613021d1f7,0 2. c2t500601693021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601693021d1f7,0 Specify disk (enter its number): 1 selecting c2t500601613021D1F7d0 [disk unformatted] Error: can't open disk '/dev/rdsk/c2t500601613021D1F7d0p0'. Error: can't open disk '/dev/rdsk/c2t500601613021D1F7d0p0'. Disk not labeled. Label it now? n 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 fdisk - run the fdisk program repair - repair a defective sector 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 inquiry - show vendor, product and revision volname - set 8-character volume name ! - execute , then return quit format> p WARNING - This disk may be in use by an application that has modified the fdisk table. Ensure that this disk is not currently in use before proceeding to use fdisk. format> q bash-3.00# format Searching for disks... The device does not support mode page 3 or page 4, or the reported geometry info is invalid. WARNING: Disk geometry is based on capacity data. The current rpm value 0 is invalid, adjusting it to 3600 Error: can't open selected disk '/dev/rdsk/c2t500601613021D1F7d0p0'. done c2t500601613021D1F7d0: configured with capacity of 1022.00MB AVAILABLE DISK SELECTIONS: 0. c1d0 /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0 1. c2t500601613021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601613021d1f7,0 2. c2t500601693021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601693021d1f7,0 Specify disk (enter its number): 2 selecting c2t500601693021D1F7d0 [disk formatted] FORMAT MENU: disk type partition current format fdisk repair label analyze defect backup
-
select a disk select (define) a disk type select (define) a partition table describe the current disk format and analyze the disk run the fdisk program repair a defective sector write label to the disk surface analysis defect list management search for backup labels
verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name ! - execute , then return quit format> q bash-3.00# luxadm display /dev/dsk/c28s2 Error: Invalid pathname (/dev/dsk/c28s2) bash-3.00# luxadm display /dev/rdsk/c28s2 Error: Invalid pathname (/dev/rdsk/c28s2) bash-3.00# luxadm display path =/dev/rdsk/c28s2 Error: Invalid pathname (path) Error: Invalid pathname (=/dev/rdsk/c28s2) bash-3.00# luxadm display /dev/rdsk/c2*s2 DEVICE PROPERTIES for disk: /dev/rdsk/c2t500601613021D1F7d0s2 Vendor: DGC Product ID: RAID 5 Revision: 0226 Serial Num: APM00052502320 Unformatted capacity: 1024.000 MBytes Device Type: Disk device Path(s): /dev/rdsk/c2t500601613021D1F7d0s2 /devices/pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601613021d1f7,0 :c,raw Controller /dev/cfg/c2 Device Address 500601613021d1f7,0 Host controller port WWN 210000e08b8f850f Controller /dev/cfg/c2 Device Address 500601693021d1f7,0 Host controller port WWN 210000e08b8f850f bash-3.00# newfs /dev/rdsk/c2t500601613021D1F7d0s2 /dev/rdsk/c2t500601613021D1F7d0s2: I/O error bash-3.00# newfs /dev/rdsk/c2t500601613021D1F7d0s2 /dev/rdsk/c2t500601613021D1F7d0s2: I/O error bash-3.00# format Searching for disks... The device does not support mode page 3 or page 4, or the reported geometry info is invalid. WARNING: Disk geometry is based on capacity data. The current rpm value 0 is invalid, adjusting it to 3600 Error: can't open selected disk '/dev/rdsk/c2t500601613021D1F7d0p0'. done c2t500601613021D1F7d0: configured with capacity of 1022.00MB AVAILABLE DISK SELECTIONS: 0. c1d0 /pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0 1. c2t500601613021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601613021d1f7,0 2. c2t500601693021D1F7d0 /pci@0,0/pci8086,244e@1e/pci1077,100@1/fp@0,0/disk@w500601693021d1f7,0 Specify disk (enter its number): 2
selecting c2t500601693021D1F7d0 [disk formatted] 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 fdisk - run the fdisk program repair - repair a defective sector 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 inquiry - show vendor, product and revision volname - set 8-character volume name ! - execute , then return quit format> q bash-3.00# newfs /dev/rdsk/c2t500601613021D1F7d0s2 /dev/rdsk/c2t500601613021D1F7d0s2: I/O error bash-3.00# newfs /dev/rdsk/c2t500601693021D1F7d0s2 newfs: construct a new file system /dev/rdsk/c2t500601693021D1F7d0s2: (y/n)? yy /dev/rdsk/c2t500601693021D1F7d0s2: 2091008 sectors in 1021 cylinders of 64 tracks, 32 sectors 1021.0MB in 64 cyl groups (16 c/g, 16.00MB/g, 7680 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 32832, 65632, 98432, 131232, 164032, 196832, 229632, 262432, 295232, 1771232, 1804032, 1836832, 1869632, 1902432, 1935232, 1968032, 2000832, 2033632, 2066432 bash-3.00# mkdir solaris bash-3.00# mount /dev/dsk/c2t500601693021D1F7d0s2 /solaris/ bash-3.00# df -h Filesystem size used avail capacity Mounted on rpool/ROOT/s10x_u6wos_07b 73G 3.5G 68G 5% / /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 1.5G 360K 1.5G 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab /usr/lib/libc/libc_hwcap1.so.1 71G 3.5G 68G 5% /lib/libc.so.1 fd 0K 0K 0K 0% /dev/fd swap 1.5G 40K 1.5G 1% /tmp swap 1.5G 28K 1.5G 1% /var/run rpool/export 73G 19K 68G 1% /export rpool/export/home 73G 18K 68G 1% /export/home rpool 73G 35K 68G 1% /rpool /dev/dsk/c2t500601693021D1F7d0s2 960M 1.0M 901M 1% /solaris bash-3.00#
View more...
Comments