iscsiadm -m discovery -t st -p 10.0.0.1 -I iser iscsiadm -m node -T iqn.2010-10.com.example:storage-1000 -l
Author Archives: Dave
iser target login
MySQL ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal
mysql> create user test identified by password '12345';
ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number
You can resolve this by following the steps listed below.
mysql> select password('12345');
+-------------------------+
| password('123456') |
+-------------------------+
| 2ff898e158cd0311 |
+-------------------------+
1 row in set (0.00 sec)
mysql> create user test identified by password ’2ff898e158cd0311′;
Query OK, 0 rows affected (0.00 sec)
Mysql Remote Access
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%.example.com'
IDENTIFIED BY PASSWORD 'some_characters'
WITH GRANT OPTION;
FLUSH PRIVILEGES;
The VDI is unavailable.
List all VDIs
xe vdi-list
Forget all VDIs of the VM that cannot start.
xe vdi-forget uuid=
Rescan SR, and the true VDIs will be displayed. Reattach these to the VM and then restart.
ndd list tcp variables
ndd /dev/tcp ?
TCP Tuning IPoIB OmniOS
ndd -set /dev/tcp tcp_recv_hiwat 262144
ndd -set /dev/tcp tcp_xmit_hiwat 262144
ndd -set /dev/tcp tcp_max_buf 4194304
Execute script on boot
ln -s /etc/init.d/<filename> /etc/rc3.d/S<XX><filename>
don’t forget to set the correct permissions on your script, i like 4755 for these types of scripts
ZFS Destroy Snapshot
zfs destroy tank/volume@snapshot_name
ZFS Snapshot
zfs snapshot tank/iscsivol@snapshot_name
ZFS Send Incremental Snapshot
zfs send -i tank/iscsivol@snap1 tank/iscsivol@snap2 > /iserpool/iscsivol_backup
Recent Comments