I am trying to connect to my NAS via iscsi. on nas is already configured and I used it.
But now I have installed new centos8 server and when I do this there is no sdb1
why there is no sdb?
I have restarted both services iscsi and iscsid
iscsiadm -m node --login
Logging in to [iface: default, target: iqn.2019-10.world.srv:dlp.target01, portal: 10.0.0.30,3260] (multiple)
Login to [iface: default, target: iqn.2019-10.world.srv:dlp.target01, portal: 10.0.0.30,3260] successful.
iscsiadm -m session -o show
tcp: [1] 10.0.0.30:3260,1 iqn.2019-10.world.srv:dlp.target01 (non-flash)
cat /proc/partitions
252 0 31457280 sda
252 1 1048576 sda1
252 2 30407680 sda2
253 0 15728640 dm-0
253 1 3145728 dm-1
iscsi no disk
Re: iscsi no disk
In the comments I added to my puppet class for setting up an iSCSI connection I have the following comments:
Code: Select all
# iscsiadm -m discovery -t sendtargets -p ip.ad.re.ss:3260
# iscsiadm -m node --targetname iqn.2004-04.com.qnap:aaaa:iscsi.raid1test.xxxxx -p ip.ad.re.ss:3260 --login
# you'll also need to set usernames/passwords in /etc/iscsi/iscsi.conf and in
# /var/lib/iscsi/nodes/iqn.2004-04.com.qnap:aaaa:iscsi.raid1test.xxxxx/ip.ad.re.ss:3260,1/default
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: iscsi no disk
The thing is this already worked until I delete iscsi disk and try to connect it again.
I have username and password in both files, but still canot get sdb1# you'll also need to set usernames/passwords in /etc/iscsi/iscsi.conf and in
# /var/lib/iscsi/nodes/iqn.2004-04.com.qnap:aaaa:iscsi.raid1test.xxxxx/ip.ad.re.ss:3260,1/default
Re: iscsi no disk
After restarting nas /dev/sdb1 show up and now it works