Is there a way to change the default mount.cifs options? Currently the default mount for cifs is using SMB protocol 1.0. Now with Samba properly introducing 2.0, 2.1, and even 3.0, having the ability to change the version will greatly increase the speed at which we image. I see many people use ocs_prerun options, however, I can't seem to figure out a way to have that allow multiple users when cifs mounting, as using the prerun forces you to add 1 specific user and password.
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
vers= is the key part. I noticed the part about preseeding options, but that would then take away our ability for multiple users to use clonezilla since the mount.cifs described there would then only allow 1 user/password, where we use multiple.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your case is more complicated than a normal one, so it's better to use customized script file for that.
There are some samples files in the Clonezilla live environment:
/usr/share/drbl/samples/custom*
You can find them after booting Clonezilla live.
With that, you can assign ocs_prerun to your own customized file.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to change the default mount.cifs options? Currently the default mount for cifs is using SMB protocol 1.0. Now with Samba properly introducing 2.0, 2.1, and even 3.0, having the ability to change the version will greatly increase the speed at which we image. I see many people use ocs_prerun options, however, I can't seem to figure out a way to have that allow multiple users when cifs mounting, as using the prerun forces you to add 1 specific user and password.
Any suggestions?
If you meant to boot parameters, you can refer to:
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/05_Preseed_options_to_do_job_after_booting
BTW, could you let us know the complete command for mount.cifs you want to run?
Thanks.
Steven.
All it needs is to append an option to the -o string of options for mount.cifs. Such as:
mount.cifs //servername/share /dir/mountpoint -o username=user,vers=3.0
vers= is the key part. I noticed the part about preseeding options, but that would then take away our ability for multiple users to use clonezilla since the mount.cifs described there would then only allow 1 user/password, where we use multiple.
Your case is more complicated than a normal one, so it's better to use customized script file for that.
There are some samples files in the Clonezilla live environment:
/usr/share/drbl/samples/custom*
You can find them after booting Clonezilla live.
With that, you can assign ocs_prerun to your own customized file.
Steven.