Is it possible to specify an NFS share on a second system for Clonezilla images?
What I have now is my DRBL server and a storage server I would like to use for images. I would like to specify the storage server share as /home/partimag.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, it's possible.
If you want to mount an NFS share and export it to your DRBL client, you have to use unfs3 service instead of kernel NFS service on your DRBL server.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess my question was kind of vague. I would rather not mount a share on the DRBL server and export it to the clients. I would rather have the clonezilla client mount the share and bypass the middle man.
What I would like to do use DRBL to pxe boot the client. Once Clonezilla is selected and booted, have Clonezilla mount /home/partimag from an NFS share on a second system instead of the DRBL NFS share.
In /etc/drbl/ is the drbl_deploy file and a few lines that caught my eye.
Hi,
I think you can just modify client's /etc/fstab to mount your /home/partimag. They are listed on /tftpboot/nodes/$IP/ on your DRBL server. You have to modify each of them one by one.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That was really close! It mounts the NFS share when I boot to the thin client but Clonezilla still tries to mount /home/partimag from the drbl server.
What I have is two systems:
1. DRBL ssi - 192.168.10.1
2. Linux with 1TB NFS share - 192.168.10.2
When Clonezilla boots it wants to mount the share from 192.168.10.1 to get the images. I've set up an alternate share on 192.168.10.2 that I would like to use for images. I know the permissions are correct because I can use the live CD and point it to 192.168.10.2.
I've been poking through the scripts and config files, but I have yet to find the setting I'm looking for.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pariah78,
OK, you are using DRBL ssi mode, it's a little complicated. :)
This is the part now I know you have to do at least, but it's not finished...
1. Find a client as a template for the SSI client, e.g. 192.168.120.1, so you can modify:
/tftpboot/nodes/192.168.120.1/etc/fstab
Append one line like:
-------------------
192.168.120.254:/home/sanboot-img /home/partimag/ nfs ro,rsize=65536,wsize=65536,tcp,,defaults 0 0
-------------------
(Replace the NFS server and dir with yours)
2. Use this client as a template for SSI client by:
/opt/drbl/sbin/drbl-gen-ssi-files -t 192.168.120.1
However, this only works when your boot your client into DRBL mode, not Clonezilla mode... Something I still need to figure it out.
For the time being, I suggest that maybe you can use full DRBL/Clonezilla mode ? It's easier for you to modify /etc/fstab of clients...
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to specify an NFS share on a second system for Clonezilla images?
What I have now is my DRBL server and a storage server I would like to use for images. I would like to specify the storage server share as /home/partimag.
Yes, it's possible.
If you want to mount an NFS share and export it to your DRBL client, you have to use unfs3 service instead of kernel NFS service on your DRBL server.
I guess my question was kind of vague. I would rather not mount a share on the DRBL server and export it to the clients. I would rather have the clonezilla client mount the share and bypass the middle man.
What I would like to do use DRBL to pxe boot the client. Once Clonezilla is selected and booted, have Clonezilla mount /home/partimag from an NFS share on a second system instead of the DRBL NFS share.
In /etc/drbl/ is the drbl_deploy file and a few lines that caught my eye.
ocs_img_repo_dir="/home/partimag"
nfsserver_default=""
Can I modify this option to mount an NFS share that is not the DRBL server?
ocs_img_repo_dir="192.168.0.2:/home/partimag"
or
ocs_img_repo_dir="/home/partimag"
nfsserver_default="192.168.0.2"
Or maybe, is it possible to add parameters to the boot options for Clonezilla in the /tftpboot/nbi_image/pxeclient.cfg/default file?
Thanks for any advice.
Hi,
I think you can just modify client's /etc/fstab to mount your /home/partimag. They are listed on /tftpboot/nodes/$IP/ on your DRBL server. You have to modify each of them one by one.
Steven.
That was really close! It mounts the NFS share when I boot to the thin client but Clonezilla still tries to mount /home/partimag from the drbl server.
What I have is two systems:
1. DRBL ssi - 192.168.10.1
2. Linux with 1TB NFS share - 192.168.10.2
When Clonezilla boots it wants to mount the share from 192.168.10.1 to get the images. I've set up an alternate share on 192.168.10.2 that I would like to use for images. I know the permissions are correct because I can use the live CD and point it to 192.168.10.2.
I've been poking through the scripts and config files, but I have yet to find the setting I'm looking for.
Thanks
Hi Pariah78,
OK, you are using DRBL ssi mode, it's a little complicated. :)
This is the part now I know you have to do at least, but it's not finished...
1. Find a client as a template for the SSI client, e.g. 192.168.120.1, so you can modify:
/tftpboot/nodes/192.168.120.1/etc/fstab
Append one line like:
-------------------
192.168.120.254:/home/sanboot-img /home/partimag/ nfs ro,rsize=65536,wsize=65536,tcp,,defaults 0 0
-------------------
(Replace the NFS server and dir with yours)
2. Use this client as a template for SSI client by:
/opt/drbl/sbin/drbl-gen-ssi-files -t 192.168.120.1
However, this only works when your boot your client into DRBL mode, not Clonezilla mode... Something I still need to figure it out.
For the time being, I suggest that maybe you can use full DRBL/Clonezilla mode ? It's easier for you to modify /etc/fstab of clients...
Steven.