Table of Contents |
---|
This is a simple guide to setup a MicroMEC lab for test purposes using inexpensive components.
...
Discover the iscsi target
$ sudo iscsiadm --mode discovery --op update --type sendtargets --portal bootserv
192.168.4.1:3260,1 iqn.org.micromec:rpi3-1-opensuse-rootfs
192.168.4.1:3260,1 iqn.org.micromec:rpi4-1-opensuse-rootfs
192.168.4.1:3260,1 iqn.org.micromec:rpi4-1-raspbian-rootfsLogin to the iscsi target
$ sudo iscsiadm -m node --targetname iqn.org.micromec:rpi4-1-raspbian-rootfs -p bootserv -l
Logging in to [iface: default, target: iqn.org.micromec:rpi4-1-raspbian-rootfs, portal: 192.168.4.1,3260]
Login to [iface: default, target: iqn.org.micromec:rpi4-1-raspbian-rootfs, portal: 192.168.4.1,3260] successful.Check the available partitions
$ cat /proc/partitions
major minor #blocks name ..... 8 16 4096000 sdcDetermine the UUID
$ sudo blkid /dev/sdc /dev/sdc: UUID="8236bee6-9c37-4b04-8092-2630fd2b0596" BLOCK_SIZE="4096" TYPE="ext4"