Archive for the ‘Solaris’ Category.
22nd September 2008, 09:56 am
We have a Sun X4500 ‘Thumper’ that recently had a failed drive. Our zpools are all raidz2 with 4 spares. We were getting errors on the disk c1t5d0, although the drive hadn’t failed completely.
As we had not yet tested replacing a ‘live’ drive the disk was pulled from the system before running any commands to remove it from the pool.
You can run the following command to see the status of your pools -
zpool status
Continue reading ‘Replacing a failed zpool ZFS drive’ »
7th July 2008, 11:08 am
Here’s a small bash script to destroy all existing zfs snapshots.
Run at your own risk!
#!/bin/bash
for snapshot in `zfs list -H -t snapshot | cut -f 1`
do
zfs destroy $snapshot
done
15th May 2008, 12:37 pm
I was trying to install Solaris U5 on one of our Sun boxes using jumpstart today and came across the error -
ERROR: Could not open file (/a/etc/vfstab)
We were previously using Solaris U4 and I had copied the U5 media to our jumpstart server. What I had forgotten to do was to copy the x86.miniroot file from the installation media to where it was being loaded from.
This resulted in the U5 installation trying to use the U4 ramdisk image. Doh!
So, if you see the same error, it’s something to check.