Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to mount a hard drive on a remote computer (running on CentOS 6) as a Windows drive so that I can install programs to that drive. The primary hard drive for my Windows machine (which is at home) is pretty small, I have a Linux server sitting in a remote data center with a much larger hard drive and allow me to install more stuff.

I know most of you are going to say Samba, unfortunately the biggest problem for me in this case is that I can not mount Samba as a network share unless I start OpenVPN or SSH tunneling first, which is not good for my case because I will install some startup programs to the remote drive as well. Therefore, the remote drive has to be ready and work just like another drive BEFORE any of the startup programs start to load.

Is that possible? My home PC has Windows 7 Professional 32 bit installed and the remote server is a Xen virtual server running on CentOS 6. I have admin/root permissions for both.

Thanks a lot!

share|improve this question
Save yourself some head pain and just go buy another disk. – squillman Sep 22 '11 at 16:07
Why do you need that? You probably will not boot Windows over a VPN tunnel. – mailq Sep 22 '11 at 16:08
I used the term "home PC" to simplify my description, but it is actually a remote desktop virtual PC that is sitting in another data centre, and adding hard drives to it will cost quite a bit... – zhuanyi Sep 22 '11 at 17:53

The only other thing I can think of besides Samba is to use the SSHD FTP subsystem to do a SSH tunnel via FTP and mounting that as a drive on Windows 7. I know Windows 7 supports mounting a FTP server as a drive, but the performance of it is terrible in my experience , and I haven't tried to mount a SFTP device before. Presumably, its possible though.

Or perhaps you can run a regular FTP server on the Centos machine and then create a tunnel using a Putty proxy running in the background on your windows system, and THEN mount it as a regular FTP drive.

Still, all of these things are harder than using Samba I think. (NOTE:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.