Software

How to Clonezilla to Windows NFS share

How to Clonezilla to Windows NFS share

Clonezilla is a great free utility to create and restore images for both Windows AND Linux computers and it works very well. ย So it gives you the flexibility to work with images across many platforms, making it the tool of choice especially if it is anything other than a Windows environment and using the WADK or WAIK is not an option. ย  There may be confusion among some about how to setup your Windows NFS share and how to point your Clonezilla boot environment ย to the Windows share as a target to store your image. ย In the screenshots and instructions below we will detail how you go about doing this by setting up NFS on your Windows server and then booting from the CD and pointing Clonezilla to the NFS share you created.

Setting up your Windows Server for NFS

Note –ย Below we are using a test Windows Server 2012 R2 server to setup NFS, but the actual setup screens for the folder haven’t changed from what we can tell from Windows Server 2008 R2.

  • You have to add theย server roleย for NFS. ย It is found under yourย File Server Services in 2008 and 2012.

servernfs1

  • After setting up the NFS server role service, you will have a new tab calledย NFS Sharing. ย This is where we will setup our share to work with Clonezilla.

 

 

servernfs2

  • Set the NFS Share name. ย Uncheck everything referencing Kerberos and leave theย No server authentication,ย andย Enable unmapped user access. ย Then click onย Permissions.

servernfs3

  • Under theย Permissionsย setup, we need to set theย type of accessย toย Read-Write and then check the boxย Allow root access to enable Clonezilla to work with the share.

servernfs4

Clonezilla Live Boot Screens

clonezilla1ย 

 

clonezilla2

 

clonezilla3

 

clonezilla4

 

clonezilla5

  • Here we are choosing the NFS server option

clonezilla6

  • The first selection and version is the one that we want

clonezilla7

  • Enter the IP address of the NFS server

clonezilla8

  • Here we enter the directory with theย forware slashย “/” and then theย directory name. ย Remember the directory name isย case sensitive so be sure and include any and all capital letters.

clonezilla9

  • Here we see the successful directory listing on our server

clonezilla10

  • Beginner mode should be fine here unless you want to tweak any of the options, but it isn’t necessary if you are strictly just wanting to capture an image

clonezilla11

  • Here we want to do an entire disk image

clonezilla12

  • Here is your opportunity to name the destination image name. ย Making it something that makes sense is always helpful

clonezilla13

  • Here we are leaving the source disk source as is

clonezilla14

  • We are skipping automatic disk checking here especially since we are just running the Clonezilla image creation for testing purposes, however, if you run into any issues with capturing the image, this is a good place to start as we have seen a failed image capture corrected by letting Clonezilla run the disk check first.

clonezilla15

  • Again since we are just testing here, we skipped the disk check, but in a production environment where you want to make doubly sure the image is good that you captured, you definitely want to verify your image.

clonezilla16

 

clonezilla17 clonezilla18

 

clonezilla19

  • The image creation process gets going here. ย You will see the progress of the image creation process along the way and you should see a successful capture message at the end.

clonezilla20

Final Thoughts

Clonezilla is a great utility to capture and restore disk and partition images especially for free. ย This is definitely a tool that system administrators want to leverage in their toolbox of utilities for their environment. ย While not being an end all solution in every environment or circumstance, it can certainly be used when needed or when the situation calls for it. ย Also as you can see above, the setup of NFS is very quick and straightforward but can be confusing but hopefully the tips above will help get you past the point of any problems with NFS and getting your Clonezilla capture or restore pointed to your NFS server.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.