Tag Archives: hard drive

Mac OS X: Freeing up space

  • Run OmniDiskSweeper to isolate out large files
  • In Terminal:  cd /private/var/tmp
  • Delete tmp.*.* files taking up space
Advertisements

Zpool: Replace Command Example

  • ls -l /dev/disk/by-id (to identify new drives)
  • /dev/disk/by-id/wwn-0x5000c5004dd9fc1f = new drive
  • zpool status (to identify bad drives)
  •  UNAVAIL      was /dev/disk/by-id/wwn-0x5000c50050824183-part1 = bad drive
  • zpool replace -f hoppingjohndodson /dev/disk/by-id/wwn-0x5000c50050824183 /dev/disk/by-id/wwn-0x5000c5004dd9fc1f
  • replacing-1 UNAVAIL 0 0 0
    10366474612948495445 UNAVAIL 0 0 0 was /dev/disk/by-id/wwn-0x5000c50050824183-part1
    wwn-0x5000c5004dd9fc1f ONLINE 0 0 0 (resilvering)