I have a Sun USS 7110 with some issues. I have had to swap OS drives between machines, at one point the drives were formatted for Linux, etc... At the end of the day, the USS 7110 (basically a Sun x4200) is most useful as it's intended purpose, a Unified Storage Array - imagine that? ;-)
Anyhow... once you have the 2 OS drives configured correctly... go to work
# echo | format | awk '{ print $2 }'
DISKS="c0t5000CCA0002AF4B8d0
c0t5000CCA0002B33A0d0
c0t5000CCA0002CED64d0
c0t5000CCA0002D9A8Cd0
c0t5000CCA0002D9A44d0
c0t5000CCA0007AA6F4d0
c0t5000CCA0007ABB18d0
c0t5000CCA0007ABDBCd0
c0t5000CCA0007B632Cd0
c0t5000CCA0007B3934d0
c0t5000CCA00019B378d0
c0t5000CCA00031D8CCd0
c0t5000CCA000222E5Cd0
c0t5000CCA0002874C4d0"
#c0t5000CCA0002CE1C4d0 -- OS Drive
#c0t5000CCA00029536Cd0 -- OS Drive
for DISK in $DISKS
do
echo "dd if=/dev/zero of=/dev/rdsk/${DISK} bs=1024 count=72000"
dd if=/dev/zero of=/dev/rdsk/${DISK} bs=1024 count=72000
done
for DISK in $DISKS
do
echo "echo \"y\" | fdisk ${DISK}"
echo "y" | fdisk ${DISK}
done
format -e $DISK
lab
0
y
q
To scan for non-imported Zpools (seems strange to me)
uss01# zpool import
Anyhow... once you have the 2 OS drives configured correctly... go to work
# echo | format | awk '{ print $2 }'
DISKS="c0t5000CCA0002AF4B8d0
c0t5000CCA0002B33A0d0
c0t5000CCA0002CED64d0
c0t5000CCA0002D9A8Cd0
c0t5000CCA0002D9A44d0
c0t5000CCA0007AA6F4d0
c0t5000CCA0007ABB18d0
c0t5000CCA0007ABDBCd0
c0t5000CCA0007B632Cd0
c0t5000CCA0007B3934d0
c0t5000CCA00019B378d0
c0t5000CCA00031D8CCd0
c0t5000CCA000222E5Cd0
c0t5000CCA0002874C4d0"
#c0t5000CCA0002CE1C4d0 -- OS Drive
#c0t5000CCA00029536Cd0 -- OS Drive
for DISK in $DISKS
do
echo "dd if=/dev/zero of=/dev/rdsk/${DISK} bs=1024 count=72000"
dd if=/dev/zero of=/dev/rdsk/${DISK} bs=1024 count=72000
done
for DISK in $DISKS
do
echo "echo \"y\" | fdisk ${DISK}"
echo "y" | fdisk ${DISK}
done
format -e $DISK
lab
0
y
q
To scan for non-imported Zpools (seems strange to me)
uss01# zpool import
Comments
Post a Comment