Discussions related to using object storage as a backup target.
Post Reply
shaazaminator
Novice
Posts: 7
Liked: 1 time
Joined: Jan 23, 2020 7:06 pm
Full Name: Doug Tathwell
Contact:

Linux Hardened Repository using iSCSI

Post by shaazaminator »

Hello,

I'm trying to create a Linux hardened repository using iSCSI for the storage on Ubuntu 20.04 LTS using a Synology NAS for the iSCSI target.
Everything works with the iSCSI, I can find the target, login, format, and mount the storage.
My problem is when I reboot the Linux box the iSCSI storage disappears.
The UUID of the storage is in Fstab with the auto mount option, and have configured open-iscsi to automatically log into the target.

Has anyone used this particular setup and been successful?

Trying to avoid having to run startup scripts just to get the Linux box to connect to the iSCSI target on startup.

Thanks!

- Doug
rennerstefan
Veeam Software
Posts: 688
Liked: 150 times
Joined: Jan 22, 2015 2:39 pm
Full Name: Stefan Renner
Location: Germany
Contact:

Re: Linux Hardened Repository using iSCSI

Post by rennerstefan »

Hi Doug

You’ll need to tell Ubuntu upon boot that a iscsi lun needs to be mounted.
There is different ways to do it.
One example is shown here:
https://github.com/f1linux/iscsi-automount

Thanks
Stefan Renner

Veeam PMA
jorgedlcruz
Veeam Software
Posts: 1494
Liked: 655 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: Linux Hardened Repository using iSCSI

Post by jorgedlcruz »

Hello,
How does it look like your /etc/iscsi/iscsid.conf ? Do you have your node.startup = automatic, and do you have your sudo systemctl enable iscsid ?

That is how I have my iSCSI presented from NetApps, HPE, etc, to my Linux Proxies to do directSAN, and they automount without any problem.

Let us know
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2024 / InfluxAce / Grafana Champion
shaazaminator
Novice
Posts: 7
Liked: 1 time
Joined: Jan 23, 2020 7:06 pm
Full Name: Doug Tathwell
Contact:

Re: Linux Hardened Repository using iSCSI

Post by shaazaminator »

Hey Jorge,

Editing the .conf file per your recommendation seems to have done the trick.
Not certain why that little bit of information was left out of the documentation I followed, but that is life in Linux land sometimes.

Thanks to you both for the excellent suggestions!

- Doug
jorgedlcruz
Veeam Software
Posts: 1494
Liked: 655 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: Linux Hardened Repository using iSCSI

Post by jorgedlcruz »

Awesome!
I have followed some instructions in the past, and as they were not completed, same as in your case, ended up doing my own steps.

This is for Proxy DirectSAN, but anyways, for Repo are the same of course.
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2024 / InfluxAce / Grafana Champion
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests