[pve-devel] FreeNAS plugin: Status
Michael Rasmussen
mir at datanom.net
Thu Jun 8 18:15:13 CEST 2017
On Thu, 8 Jun 2017 18:07:26 +0200
Michael Rasmussen <mir at datanom.net> wrote:
> Both host and storage. FreeNAS requires a removal of the
> 'targettoexent' and a new reassigning of targettoextent between
> target and extent. This reassignment brakes the connection sort of like
I stand corrected ;-)
Initial assigment
$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 5 GiB, 5368709120 bytes, 10485760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 16384 bytes
I/O size (minimum/optimal): 16384 bytes / 1048576 bytes
After increasing the size of the zvol but before rescanning the session
mir at pve:~/git/pve-storage$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 5 GiB, 5368709120 bytes, 10485760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 16384 bytes
I/O size (minimum/optimal): 16384 bytes / 1048576 bytes
Rescanning session
mir at pve:~/git/pve-storage$ sudo iscsiadm -m session -r 5 -R
Rescanning session [sid: 5, target: iqn.2005-10.org.freenas.ctl:test, portal: 10.0.1.32,3260]
mir at pve:~/git/pve-storage$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 16384 bytes
I/O size (minimum/optimal): 16384 bytes / 1048576 bytes
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
What do you give a man who has everything? Penicillin.
-- Jerry Lester
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20170608/14b99bcf/attachment.sig>
More information about the pve-devel
mailing list