ZFS + List all snapshots

zfs list -t snapshot Example Output: nas1# zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT nfs/datastore@rep-init-20110113013713 18K – 21K – nfs/datastore@rep20110113013825 311M – 311M – nfs/datastore@rep20110113015314 0 – 68K –

ZFS NFS Export

Activate NFS on the pool: zfs set sharenfs=on Now restrict access by IP range: zfs sharenfs=”-maproot=root -alldirs -network 10.10.40.0 -mask 255.255.255.0″ Verify using showmount: nas1# showmount -e Exports list on localhost: /nfs/datastore 10.10.40.0 /nfs 10.10.40.0

FreeBSD LAGG / LACP Uneven Distribution

If you have setup LAGG on FreeBSD and are noting that one NIC is getting all of the traffic. Switch to roundrobin and check results. The primary (“MASTER”) NIC will always receive the incoming traffic. With roundrobin all of the traffic will exit all NICs assigned to the LAGG.

FreeBSD + HAST + CARP + NFS

FreeBSD recently introduced a disk replication setup: HAST. This is FreeBSD’s answer to DRDB for Linux. Some very good blog posts, with scripting, can be found here: FreeBSD + HAST + CARP + NFS HAST with ZFS My issues with HAST are its feeling of instability and the addition of numerous points of failure… sloppy ...

Dell Firmware Upgrade

If you have been searching around for the proper ISOs to use. These two ISOs are what you need to use. This is bootable: cdu_1.5_core_225_A00.iso After you have burned and booted with the above CD. Download these three files: http://ftp.us.dell.com/sysman/OM_6.2.0_SUU_A01.iso.001 http://ftp.us.dell.com/sysman/OM_6.2.0_SUU_A01.iso.002 http://ftp.us.dell.com/sysman/OM_6.2.0_SUU_A01.iso.003 The above files need to be joined: Windows: copy /b OM* OM_610_SUU_A01.iso Linux: ...

Reset Password Foundry EdgeIron – Asset Recovery

Foundry Models Covered: EIF24G, EIF4802CF, EIF48G, EIF24GS, EIF48GS, etc. 1) Establish a connection to the device on the console port 2) Power the switch on, while holding down ctrl-u to access the system file menu (technically you can just hit �ctrl-u� in the one second time between powering on and it actually loading, but its ...

VMWare convert thick to thin disk

If you have VMware vCenter – Click Migrate For those of us who do not have VMware vCenter: 1. Shutdown the VM 2. SSH to the ESXi machine and type: vmkfstools -i /vmfs/volumes/datastore1/NAME-OF-VM/NAME-OF-VM.vmdk /vmfs/volumes/datastore1/NAME-OF-VM/NAME-OF-VM-thin.vmdk -d ‘thin’ -a lsilogic Once the copy is done, go into the settings of your VM, delete the hard disk, and ...

unable to access file unspecified filename since it is locked

ESXi / ESX / VSphere / VMWare Something is locking your VM and preventing it from starting. Solution: Snapshot the VM Snapshot unlocks the VM. Now the VM will start normally.

Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.

Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings. Run this command: /scripts/makecpphp

ssh: Illegal -o parameter “PermitLocalCommand no”

Your box has been hacked. Refer to my previous post: HERE You need to reinstall the SSH client: yum reinstall openssh-clients