set IP_ADDR 10.110.100.251
set NETMASK 255.255.255.0
set DEFAULT_ROUTER 10.110.100.1
tftp_init
ether_init
flash_init
tar -xtract tftp://10.110.100.225/c1240-k9w7-tar.124-3g.JA.tar flash:
set BOOT flash:/c1240-k9w7-mx.124-3g.JA/c1240-k9w7-mx.124-3g.JA
Pages
Saturday, December 27, 2014
Wednesday, August 27, 2014
Solaris 10 Ldom
unzip LDom_3.0.zip
./Install/install-ldm
svcadm enable svc:/ldoms/ldmd:default
ldm add-vds primary-vds0 primary
ldm add-vcc port-range=5000-5100 primary-vcc0 primary
ldm add-vsw net-dev=e1000g1 primary-vsw1 primary
ldm add-vsw net-dev=e1000g2 primary-vsw2 primary
ldm start-reconf primary
ldm set-vcpu -c 1 primary
ldm set-memory 4G primary
ldm add-config complete
ldm list-config
ldm add-domain ldom1
ldm set-vcpu -c 4 ldom1
ldm set-memory 32G ldom1
ldm add-vnet vnet1 primary-vsw1 ldom1
ldm add-vdsdev /dev/dsk/c1t1d0s2 vol1@primary-vds0
ldm add-vdisk vdisk0 vol1@primary-vds0 ldom1
mkfile 63g /domain/ldom1
ldm add-vdsdev /domain/ldom1 install_vol1@primary-vds0
ldm add-vdisk vdisk_install install_vol1@primary-vds0 ldom1
ADD ISO
ldm add-vdsdev /OSMedia/SOL_10_1009_SPARC.ISO iso_vol1@primary-vds0
ldm add-vdisk vdisk_iso iso_vol1@primary-vds0 ldom1
dumpdata folder
ldm add-vdsdev /dev/dsk/c1t0d0s3 dumpdataldom1@primary-vds0
ldm add-vdisk dumpdata dumpdataldom1@primary-vds0 ldom1
ldm add-domain ldom2
ldm set-vcpu -c 3 ldom2
ldm set-memory 28G ldom2
ldm add-vnet vnet1 primary-vsw2 ldom2
ldm add-vdsdev /dev/dsk/c1t2d0s2 vol2@primary-vds0
ldm add-vdisk vdisk0 vol2@primary-vds0 ldom2
mkfile 63g /domain/ldom2
ldm add-vdsdev /domain/ldom2 install_vol2@primary-vds0
ldm add-vdisk vdisk_install install_vol2@primary-vds0 ldom2
ADD ISO
ldm add-vdsdev /OSMedia/SOL_10_1009_SPARC1.ISO iso_vol2@primary-vds0
ldm add-vdisk vdisk_iso iso_vol2@primary-vds0 ldom2
dumpdata folder
ldm add-vdsdev /dev/dsk/c1t0d0s4 dumpdataldom2@primary-vds0
ldm add-vdisk dumpdata dumpdataldom2@primary-vds0 ldom2
ldm add-vdsdev /dev/dsk/c3t5001438004C8CC1Cd1s0 newvolume@primary-vds0
ldm add-vdisk vdisk4 newvolume@primary-vds0 ldom1
ldm add-vdsdev /dev/dsk/c3t5001438004C8CC1Cd1s1 newvolume1@primary-vds0
ldm add-vdisk vdisk4 newvolume1@primary-vds0 ldom2
ADD ons
ADD DVD ROM PHYSICAL DRIVE
ldm add-vdsdev /dev/dsk/c0t0d0s2 dvd_vol@primary-vds0
ldm add-vdisk vdisk_cd_media dvd_vol@primary-vds0 ldom1
ldm add-vdisk vdisk_cd_media dvd_vol@primary-vds0 ldom1
ldm start-reconf primary
ldm add-vcc port-range=5000-5100 primary-vcc0 primary
svcadm disable svc:/ldoms/ldmd:default
svcadm enable svc:/ldoms/ldmd:default
==============================
ldm add-vds primary-vds0 primary
ldm add-vsw net-dev=e1000g1 primary-vsw1 primary
ldm add-vsw net-dev=e1000g2 primary-vsw2 primary
ldm add-vdsdev /dev/dsk/c1t1d0s2 vol1@primary-vds0
ldm add-vdisk vdisk0 vol1@primary-vds0 ldom1
ldm add-vdsdev /domain/ldom1 install_vol1@primary-vds0
ldm add-vdisk vdisk_install install_vol1@primary-vds0 ldom1
ldm add-vdsdev /dev/dsk/c1t0d0s3 dumpdataldom1@primary-vds0
ldm add-vdisk dumpdata dumpdataldom1@primary-vds0 ldom1
ldm add-vdsdev /dev/dsk/c3t5001438004C8CC1Cd1s0 newvolume@primary-vds0
ldm add-vdisk vdisk3 newvolume@primary-vds0 ldom1
========================
ldm add-vnet vnet1 primary-vsw2 ldom2
ldm add-vdsdev /dev/dsk/c1t2d0s2 vol2@primary-vds0
ldm add-vdisk vdisk0 vol2@primary-vds0 ldom2
ldm add-vdsdev /domain/ldom2 install_vol2@primary-vds0
ldm add-vdisk vdisk_install install_vol2@primary-vds0 ldom2
ldm add-vdsdev /dev/dsk/c1t0d0s4 dumpdataldom2@primary-vds0
ldm add-vdisk dumpdata dumpdataldom2@primary-vds0 ldom2
ldm add-vdsdev /dev/dsk/c3t5001438004C8CC1Cd1s1 newvolume1@primary-vds0
ldm add-vdisk vdisk4 newvolume1@primary-vds0 ldom2
Tuesday, June 24, 2014
HP Rx6600 Server and Spares Available for Rent and Sale
Part/Model : AD134A
HP Rx6600 Server
AB463-60004
AB464-60101
0957-2198
AB463-60001
AB463-60020
AB463-60006
AB464-60102
AB464-60006
AB463-60002
0950-4677
80549KE
AB578-2100B
AB565AX
Please contact us for spares and support shailesh.bhanushali@infotrendz.com or
Saturday, April 19, 2014
Cisco 6509E chassis Available on rental in mumbai
We have Cisco Chassis and spares available on rent in mumbai, can be provided in Bangalore, Chennai, Hyderabad and Delhi.
"WS-C6506-E", DESCR: "Cisco Systems Catalyst 6500 6-slotChassis System"
"WS-C6K-VTT-E 1", DESCR: "VTT-E FRU 1"
"WS-C6K-VTT-E 2", DESCR: "VTT-E FRU 2"
"WS-C6K-VTT-E 3", DESCR: "VTT-E FRU 3"
"CLK-7600 1", DESCR: "OSR-7600 Clock FRU 1"
"CLK-7600 2", DESCR: "OSR-7600 Clock FRU 2"
"WS-X6748-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 2.7"
"WS-F6700-CFC Centralized Forwarding Card sub-module of 1", DESCR: "WS-F6700-CFC Centralized Forwarding Card Rev. 4.0"
"WS-X6724-SFP CEF720 24 port 1000mb SFP Rev. 3.1"
"WS-F6700-CFC Centralized Forwarding Card sub-module of 3", DESCR: "WS-F6700-CFC Centralized Forwarding Card Rev. 4.0"
DESCR: "WS-SUP720-3B 2 ports Supervisor Engine 720 Rev. 5.6"
"msfc sub-module of 5", DESCR: "WS-SUP720 MSFC3 Daughterboard Rev. 3.1"
"WS-F6K-PFC3B Policy Feature Card 3 sub-module of 5", DESCR: "WS-F6K-PFC3B Policy Feature Card 3 Rev. 2.3"
"WS-C6506-E-FAN 1", DESCR: "Enhanced 6-slot Fan Tray 1"
"PS 1 WS-CAC-3000W", DESCR: "AC power supply, 3000 watt 1"
For Requirement mail me on shailesh.bhanushali@infotrendz.com or call me on +919769494144
"WS-C6506-E", DESCR: "Cisco Systems Catalyst 6500 6-slotChassis System"
"WS-C6K-VTT-E 1", DESCR: "VTT-E FRU 1"
"WS-C6K-VTT-E 2", DESCR: "VTT-E FRU 2"
"WS-C6K-VTT-E 3", DESCR: "VTT-E FRU 3"
"CLK-7600 1", DESCR: "OSR-7600 Clock FRU 1"
"CLK-7600 2", DESCR: "OSR-7600 Clock FRU 2"
"WS-X6748-GE-TX CEF720 48 port 10/100/1000mb Ethernet Rev. 2.7"
"WS-F6700-CFC Centralized Forwarding Card sub-module of 1", DESCR: "WS-F6700-CFC Centralized Forwarding Card Rev. 4.0"
"WS-X6724-SFP CEF720 24 port 1000mb SFP Rev. 3.1"
"WS-F6700-CFC Centralized Forwarding Card sub-module of 3", DESCR: "WS-F6700-CFC Centralized Forwarding Card Rev. 4.0"
DESCR: "WS-SUP720-3B 2 ports Supervisor Engine 720 Rev. 5.6"
"msfc sub-module of 5", DESCR: "WS-SUP720 MSFC3 Daughterboard Rev. 3.1"
"WS-F6K-PFC3B Policy Feature Card 3 sub-module of 5", DESCR: "WS-F6K-PFC3B Policy Feature Card 3 Rev. 2.3"
"WS-C6506-E-FAN 1", DESCR: "Enhanced 6-slot Fan Tray 1"
"PS 1 WS-CAC-3000W", DESCR: "AC power supply, 3000 watt 1"
For Requirement mail me on shailesh.bhanushali@infotrendz.com or call me on +919769494144
Wednesday, March 19, 2014
IBM Power7 P710 P720 P740 P780 Servers Available On Rent
IBM 8231-E1C P710 Power 7 processor based server available with 4/8 core 3Ghz 74Y8607 processor card, 64gb/128gb memory, 00E0806 8gbps FC adapter, 46Y3512 Quad port Network Adapter
9179-MHB 3864Ghz available with 16/32 cores p7 based processors with Powervm activated. Server can be provided with 512gb memory.
Please call me for rental requirements on +919769494144 or mail me on shailesh.bhanushali@infotrendz.com
9179-MHB 3864Ghz available with 16/32 cores p7 based processors with Powervm activated. Server can be provided with 512gb memory.
Please call me for rental requirements on +919769494144 or mail me on shailesh.bhanushali@infotrendz.com
Friday, January 10, 2014
Aix Migrate VG to new server
# lsvgfs sparevg
umount /scratch
varyoffvg sparevg
# lspv
# hdisk0 00cb07a4cee0b389 rootvg active
# hdisk1 00cb07a42fb87e1d sparevg (disk id to be noted of each VG)
exportvg sparevg
After you run exportvg, lspv displays the volume group as None:
# lspv
# hdisk0 00cb07a4cee0b389 rootvg active
# hdisk1 00cb07a42fb87e1d None
Volume group descriptor area and volume group status area
Each of the disks in the volume group has management data, including a volume group descriptor area and a volume group status area. This management data is stored on each physical volume of the volume group. When you remove the disks from the ODM, the disk management data remains intact.
# rmdev -d -l hdisk1
hdisk1 deleted
new server
# cfgmgr
lspv
importvg -y sparevg hdisk1 (check of old server disk id then import with that disk)
VG Related Commands
lsvg lists the volume groups that are on the system
lsvg -o lists all volume groups that are varied on
lsvg -o | lsvg -ip lists pvs of online vgs
lsvg rootvg gives details about the vg (lsvg -L <vgname>, will doe not wait for the lock release (useful during mirroring))
lsvg -l rootvg info about all logical volumes that are part of a vg
lsvg -M rootvg lists all PV, LV, PP deatils of a vg (PVname:PPnum LVname: LPnum :Copynum)
lsvg -p rootvg display all physical volumes that are part of the volume group
lsvg -n <hdisk> shows vg infos, but it is read from the VGDA on the specified disk (it is useful to compare it with different disks)
getlvodm -j <hdisk> get the vgid for the hdisk from the odm
getlvodm -t <vgid> get the vg name for the vgid from the odm
getlvodm -v <vgname> get the vgid for the vg name from the odm
getlvodm -p <hdisk> get the pvid for the hdisk from the odm
getlvodm -g <pvid> get the hdisk for the pvid from the odm
lqueryvg -tcAp <hdisk> get all the vgid and pvid information for the vg from the vgda (directly from the disk)
(you can compare the disk with odm: getlvodm <-> lqueryvg)
Mirroring rootvg (i.e after disk replacement):
1. disk replaced -> cfgmgr <--it will find the new disk (i.e. hdisk1)
2. extendvg rootvg hdisk1 <--sometimes extendvg -f rootvg...
(3. chvg -Qn rootvg) <--only if quorum setting has not yet been disabled, because this needs a restart
4. mirrorvg -s rootvg <--add mirror for rootvg (-s: synchronization will not be done)
5. syncvg -v rootvg <--synchronize the new copy (lsvg rootvg | grep STALE)
6. bosboot -a <--we changed the system so create boot image (-a: create complete boot image and device)
(hd5 is mirrorred, no need to do it for each disk. ie. bosboot -ad hdisk0)
7. bootlist -m normal hdisk0 hdisk1 <--set normal bootlist
8. bootlist -m service hdisk0 hdisk1 <--set bootlist when we want to boot into service mode
(9. shutdown -Fr) <--this is needed if quorum has been disabled
10.bootinfo -b <--shows the disk which was used for boot
Export/Import:
1. node A: umount all fs -> varyoffvg myvg
2. node A: exportvg myvg <--ODM cleared
3. node B: importvg -y myvg hdisk3 <-- -y: vgname, if omitted a new vg will be created (if needed varyonvg -> mount fs)
if fs already exists:
1. umount the old one and mount the imported one with this: mount -o log=/dev/loglv01 -V jfs2 /dev/lv24 /home/michael
(these details have to added in the mount command, and these can be retreived from LVCB: getlvcb lv24 -At)
2. vi /etc/filesystems, create a second stanza for the imported filesystems with a new mountpoint.
---------------------------------------
VG problems with ODM:
if varyoff possible:
1. write down VGs name, major number, a disk
2. exportvg VGname
3. importvg -V MajorNum -y VGname hdiskX
if varyoff not possible:
1. write down VGs name, major number, a disk
2. export the vg by the backdoor, using: odmdelete
3. re-import vg (may produce warnings, but works)
(it is not necessary to umount fs or stop processes)
---------------------------------------
FRU, VPD:
FRU (Field Replaceable Unit) is the number used by IBM to identify the devices. (sometimes it is called 'Part Number') These are needed forhardware replacement.
VPD (Vital Product Data) is the basic data (infos) about the device which is stored in the EEPROM of the device and it can be read by the OS. It can be presented by the command 'lscfg' and it contains the FRU as well.
lsdev shows information about devices from ODM (-C Customized Devices, -P Predefined Devices
lscfg display vital product data (VPD) such as part numbers, serial numbers...
lsattr display attributes and possible values (the information is obtained from the Configuration database (ODM?), not the device)
----------------------------------
INFO ABOUT THE DEVICES:
prtconf displays system configuration information
lsdev -PH lists supported (predefined) devices (-H shows the header above the column; lsdev -Pc adapter -H)
lsdev -CH lists currently defined and configured devices (lsdev -Cc adapter -H)
lsdev -CHF "name status physloc location description" this will show physical location code and AIX location as well
(Devices with a location code are physical devices. Diveces without a location code are logical devices.)
lsdev -p fscsi0 displays the child devices of the given parent device (in this case the disks of the adapter)
lsdev -l hdisk0 -F parent displays the parent device of the given child device (in this case the adapter of the disk)
(it is the same: lsparent -Cl hdisk0
mkdev -l hdisk1 put from defined into available state (or creates an entry in customized db if there wasn't any)
rmdev -l hdisk1 put from available into defined state
rmdev -dl hdisk1 permanently remove an available or defined device
rendev -l hdisk5 -n hdisk16 it changes the name of the device (as long as it is not in a vg (in AIX 6.1 TL6))
odmget -q parent=pci0 CuDv shows child devices of pci0 (in the output look for the "name" lines)
odmget -q name=pci0 CuDv shows parent of pci0 (in the output look for the "parent" line)
lscfg -v displays characteristics for all devices
lscfg -vl ent1 displays characteristics for the specified device (-l: logical device name)
lscfg -l ent* displays all ent devices (it can be fcs*, fscsi*, scsi*...)
lsattr -El ent1 displays attributes for devices (-l: logical device name, -E:effective attr.)
lsattr -Rl fcs0 -a init_link displays what values can be given to an attribute
odmget PdAt |grep -p reserve_policy displays what values can be given to an attribute
lsslot -c pci lists hot plug pci slots (physical)
lsslot -c slot lists logical slots
lsslot -c phb lists logical slots (PCI Host Bridge)
cfgmgr configures devices and installs device software (no need to use mdev, rmdev)
cfgmgr -v detailed output of cfgmgr
cfgmgr -l fcsX configure detected devices attached to fcsX (it configures child devices as well)
cfgmgr -i /tmp/drivers to install drivers which is in /tmp/drivers automatically during configuration
smitty devices
---------------------------
Changing state of a device:
1.lsdev -Cc tape in normal case it shows: rmt0 Available ...
2.rmdev -l rmt0 it will show: rmt0 Defined
3.rmdev -dl rmt0 it will show: rmt0 deleted (the device configuration is unloaded from the ODM)
Now rmt0 is completely removed. To redetect the device:
4.cfgmgr after cfgmgr, the lsdev -Cc tape command shows: rmt0 Available ...
---------------------------
If rmdev does not work because: "... specified device is busy":
1. lsdev -C| grep fcs1 <--check the location (in this case it is 07-00)
2. lsdev -C| grep 07-00 <--check all the devices in this location
3. this will show which process is locking the device
for i in `lsdev -C| grep 07-00 | awk '{print $1}'`; do
fuser /dev/$i
done
umount /scratch
varyoffvg sparevg
# lspv
# hdisk0 00cb07a4cee0b389 rootvg active
# hdisk1 00cb07a42fb87e1d sparevg (disk id to be noted of each VG)
exportvg sparevg
After you run exportvg, lspv displays the volume group as None:
# lspv
# hdisk0 00cb07a4cee0b389 rootvg active
# hdisk1 00cb07a42fb87e1d None
Volume group descriptor area and volume group status area
Each of the disks in the volume group has management data, including a volume group descriptor area and a volume group status area. This management data is stored on each physical volume of the volume group. When you remove the disks from the ODM, the disk management data remains intact.
# rmdev -d -l hdisk1
hdisk1 deleted
new server
# cfgmgr
lspv
importvg -y sparevg hdisk1 (check of old server disk id then import with that disk)
VG Related Commands
lsvg lists the volume groups that are on the system
lsvg -o lists all volume groups that are varied on
lsvg -o | lsvg -ip lists pvs of online vgs
lsvg rootvg gives details about the vg (lsvg -L <vgname>, will doe not wait for the lock release (useful during mirroring))
lsvg -l rootvg info about all logical volumes that are part of a vg
lsvg -M rootvg lists all PV, LV, PP deatils of a vg (PVname:PPnum LVname: LPnum :Copynum)
lsvg -p rootvg display all physical volumes that are part of the volume group
lsvg -n <hdisk> shows vg infos, but it is read from the VGDA on the specified disk (it is useful to compare it with different disks)
getlvodm -j <hdisk> get the vgid for the hdisk from the odm
getlvodm -t <vgid> get the vg name for the vgid from the odm
getlvodm -v <vgname> get the vgid for the vg name from the odm
getlvodm -p <hdisk> get the pvid for the hdisk from the odm
getlvodm -g <pvid> get the hdisk for the pvid from the odm
lqueryvg -tcAp <hdisk> get all the vgid and pvid information for the vg from the vgda (directly from the disk)
(you can compare the disk with odm: getlvodm <-> lqueryvg)
Mirroring rootvg (i.e after disk replacement):
1. disk replaced -> cfgmgr <--it will find the new disk (i.e. hdisk1)
2. extendvg rootvg hdisk1 <--sometimes extendvg -f rootvg...
(3. chvg -Qn rootvg) <--only if quorum setting has not yet been disabled, because this needs a restart
4. mirrorvg -s rootvg <--add mirror for rootvg (-s: synchronization will not be done)
5. syncvg -v rootvg <--synchronize the new copy (lsvg rootvg | grep STALE)
6. bosboot -a <--we changed the system so create boot image (-a: create complete boot image and device)
(hd5 is mirrorred, no need to do it for each disk. ie. bosboot -ad hdisk0)
7. bootlist -m normal hdisk0 hdisk1 <--set normal bootlist
8. bootlist -m service hdisk0 hdisk1 <--set bootlist when we want to boot into service mode
(9. shutdown -Fr) <--this is needed if quorum has been disabled
10.bootinfo -b <--shows the disk which was used for boot
Export/Import:
1. node A: umount all fs -> varyoffvg myvg
2. node A: exportvg myvg <--ODM cleared
3. node B: importvg -y myvg hdisk3 <-- -y: vgname, if omitted a new vg will be created (if needed varyonvg -> mount fs)
if fs already exists:
1. umount the old one and mount the imported one with this: mount -o log=/dev/loglv01 -V jfs2 /dev/lv24 /home/michael
(these details have to added in the mount command, and these can be retreived from LVCB: getlvcb lv24 -At)
2. vi /etc/filesystems, create a second stanza for the imported filesystems with a new mountpoint.
---------------------------------------
VG problems with ODM:
if varyoff possible:
1. write down VGs name, major number, a disk
2. exportvg VGname
3. importvg -V MajorNum -y VGname hdiskX
if varyoff not possible:
1. write down VGs name, major number, a disk
2. export the vg by the backdoor, using: odmdelete
3. re-import vg (may produce warnings, but works)
(it is not necessary to umount fs or stop processes)
---------------------------------------
FRU, VPD:
FRU (Field Replaceable Unit) is the number used by IBM to identify the devices. (sometimes it is called 'Part Number') These are needed forhardware replacement.
VPD (Vital Product Data) is the basic data (infos) about the device which is stored in the EEPROM of the device and it can be read by the OS. It can be presented by the command 'lscfg' and it contains the FRU as well.
lsdev shows information about devices from ODM (-C Customized Devices, -P Predefined Devices
lscfg display vital product data (VPD) such as part numbers, serial numbers...
lsattr display attributes and possible values (the information is obtained from the Configuration database (ODM?), not the device)
----------------------------------
INFO ABOUT THE DEVICES:
prtconf displays system configuration information
lsdev -PH lists supported (predefined) devices (-H shows the header above the column; lsdev -Pc adapter -H)
lsdev -CH lists currently defined and configured devices (lsdev -Cc adapter -H)
lsdev -CHF "name status physloc location description" this will show physical location code and AIX location as well
(Devices with a location code are physical devices. Diveces without a location code are logical devices.)
lsdev -p fscsi0 displays the child devices of the given parent device (in this case the disks of the adapter)
lsdev -l hdisk0 -F parent displays the parent device of the given child device (in this case the adapter of the disk)
(it is the same: lsparent -Cl hdisk0
mkdev -l hdisk1 put from defined into available state (or creates an entry in customized db if there wasn't any)
rmdev -l hdisk1 put from available into defined state
rmdev -dl hdisk1 permanently remove an available or defined device
rendev -l hdisk5 -n hdisk16 it changes the name of the device (as long as it is not in a vg (in AIX 6.1 TL6))
odmget -q parent=pci0 CuDv shows child devices of pci0 (in the output look for the "name" lines)
odmget -q name=pci0 CuDv shows parent of pci0 (in the output look for the "parent" line)
lscfg -v displays characteristics for all devices
lscfg -vl ent1 displays characteristics for the specified device (-l: logical device name)
lscfg -l ent* displays all ent devices (it can be fcs*, fscsi*, scsi*...)
lsattr -El ent1 displays attributes for devices (-l: logical device name, -E:effective attr.)
lsattr -Rl fcs0 -a init_link displays what values can be given to an attribute
odmget PdAt |grep -p reserve_policy displays what values can be given to an attribute
lsslot -c pci lists hot plug pci slots (physical)
lsslot -c slot lists logical slots
lsslot -c phb lists logical slots (PCI Host Bridge)
cfgmgr configures devices and installs device software (no need to use mdev, rmdev)
cfgmgr -v detailed output of cfgmgr
cfgmgr -l fcsX configure detected devices attached to fcsX (it configures child devices as well)
cfgmgr -i /tmp/drivers to install drivers which is in /tmp/drivers automatically during configuration
smitty devices
---------------------------
Changing state of a device:
1.lsdev -Cc tape in normal case it shows: rmt0 Available ...
2.rmdev -l rmt0 it will show: rmt0 Defined
3.rmdev -dl rmt0 it will show: rmt0 deleted (the device configuration is unloaded from the ODM)
Now rmt0 is completely removed. To redetect the device:
4.cfgmgr after cfgmgr, the lsdev -Cc tape command shows: rmt0 Available ...
---------------------------
If rmdev does not work because: "... specified device is busy":
1. lsdev -C| grep fcs1 <--check the location (in this case it is 07-00)
2. lsdev -C| grep 07-00 <--check all the devices in this location
3. this will show which process is locking the device
for i in `lsdev -C| grep 07-00 | awk '{print $1}'`; do
fuser /dev/$i
done
Subscribe to:
Comments (Atom)