Difference between revisions of "Datera"
Jump to navigation
Jump to search
m (Login.) |
(Format using mkfs.xfs) |
||
| Line 26: | Line 26: | ||
https://access.redhat.com/articles/9883 | https://access.redhat.com/articles/9883 | ||
| + | |||
| + | = Formatting = | ||
| + | |||
| + | <syntaxhighlight> | ||
| + | [root@head ~]# time mkfs.xfs /dev/device | ||
| + | specified blocksize 4096 is less than device physical sector size 1048576 | ||
| + | switching to logical sector size 512 | ||
| + | meta-data=/dev/device isize=256 agcount=4, agsize=67108864 blks | ||
| + | = sectsz=512 attr=2, projid32bit=1 | ||
| + | = crc=0 finobt=0 | ||
| + | data = bsize=4096 blocks=268435456, imaxpct=5 | ||
| + | = sunit=0 swidth=0 blks | ||
| + | naming =version 2 bsize=4096 ascii-ci=0 ftype=0 | ||
| + | log =internal log bsize=4096 blocks=131072, version=2 | ||
| + | = sectsz=512 sunit=0 blks, lazy-count=1 | ||
| + | realtime =none extsz=4096 blocks=0, rtextents=0 | ||
| + | |||
| + | real 0m14.929s | ||
| + | user 0m0.000s | ||
| + | sys 0m0.228s | ||
| + | </syntaxhighlight> | ||
= References = | = References = | ||
http://linux-iscsi.org/wiki/Main_Page | http://linux-iscsi.org/wiki/Main_Page | ||
Revision as of 11:08, 16 February 2017
Once iscsiadm has been used, the iSCSI Qualified Name (IQN) can be found in /etc/iscsi/
When authentication is not enabled, it's easy to access provisioned storage, where the ip is taken from the Datera GUI:
iscsiadm -m discovery -t st -p ip:portLogging in:
iscsiadm --m node -T iqn.2007-06.com.test.cluster1:storage.cluster1 --portal 172.16.48.175:3260 -lDisabling a target:
There are three ways to disable or delete an iSCSI target.
First, to disable an iSCSI target:
iscsiadm --m node -T iqn.2007-06.com.test.cluster1:storage.cluster1 --portal 172.16.48.175:3260 -uSecond, it is possible to delete the target's record ID:/p>
iscsiadm -m node -o delete -T iqn.2007-06.com.test.cluster1:storage.cluster1 --portal 172.16.48.175:3260https://access.redhat.com/articles/9883
Formatting
[root@head ~]# time mkfs.xfs /dev/device
specified blocksize 4096 is less than device physical sector size 1048576
switching to logical sector size 512
meta-data=/dev/device isize=256 agcount=4, agsize=67108864 blks
= sectsz=512 attr=2, projid32bit=1
= crc=0 finobt=0
data = bsize=4096 blocks=268435456, imaxpct=5
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
log =internal log bsize=4096 blocks=131072, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
real 0m14.929s
user 0m0.000s
sys 0m0.228s