LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-15-2011, 11:18 PM   #1
pppdddrrr
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Share CIFS mount as NFS


I am trying to image about 30 laptops with WinXP, and I am using Clonezilla and DRBL for the task. We will start migration to Win7 starting Q4, so for now we are still using XP.

I used a Clonezilla live USB to capture a standardized image to a CIFS/SAMBA share on the enterprise file server. The file server does not support NFS.

To deploy the image, I used Virtualbox to build a VM with Centos 5.5 and then later Ubuntu 10.10. I mounted the CIFS share to /home/partimag but I found that I cannot share this CIFS mount out as NFS so I was unable to deploy the image with the image still residing on the CIFS; I had to copy the image to the VM's local drive.

Now using the DRBL live distribution, which is Debian based, I was able to obtain the image from a CIFS share and then share it out to the clients to be imaged as NFS (I think). I was able to use the DRBL live for some older computers, but since that hasn't been updated in nearly 2 years, I think it's missing some device drivers for my newer machines so it doesn't work on them -- this is why I looked at using CentOS and Ubuntu.

To mount the CIFS shares, I'm using the following command:
mount -t cifs -o user@domain //share_ip_addr/share_name/folder /home/mount_point

Do I need to do something different to enable the mounted CIFS share to be shared out as a NFS share so that the clients to be imaged can see the contents from the CIFS share as a NFS share?

The below image depicts my setup. The workstation has two NICs. The 10 network is the enterprise network and the 192 network is for DRBL imaging only. DRBL/Clonezilla does PXE boot and leases DHCP for the laptops. The laptops are shielded from the enterprise LAN; I am not doing any kind of NAT on on the server.

The Linux VM is built with dual NICs and are set to bridged mode so they appear to be a separate NIC from the VM host on the network even though they going into the same port on the wall.

http://img840.imageshack.us/img840/3349/multicast.png
 
Old 03-16-2011, 02:05 PM   #2
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
Long post. No time to read. What is the problem in one sentence?
 
0 members found this post helpful.
Old 03-16-2011, 02:09 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you have no time to read, why do you answer in the first place? To take the OP away from the Zero Reply List? This is considered bad manners here.
By the way, you are aware that there are problems that can't be explained in one sentence?
From the LQ Rules:
Quote:
Do not post if you do not have anything constructive to say in the post.
 
Old 03-16-2011, 02:15 PM   #4
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
The same test can be applied to your post. Since you may not be experienced in solving problems you may like to know that often forcing someone to consider their problem more closely may make them come upon a solution! You will learn that eventually. Be patient.
 
Old 03-16-2011, 02:59 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As said above, with your post you took away this thread from the Zero Reply List, without even giving a hint to the right direction. I only indicated to you that this is considered bad manners on this forum, that has nothing to do with patience.
 
Old 04-11-2013, 05:34 AM   #6
KernelDev0815
LQ Newbie
 
Registered: Apr 2010
Posts: 7

Rep: Reputation: 2
Arrow

2 years gone by (after a single-day non-relevant flurry), did not remain on Zero Reply List; no problem-solving reply yet.
q.e.d.

(yes I'm interested in exactly this CIFS-via-NFS-export case)

In my case there's a server-side CIFS mount, NFS-exported via /etc/exports, the client mounts that NFS export yet the data written to that NFS import ends up not on the server-side CIFS mount *but* on its underlying mount dir! (WTH?)
IOW, that data as uploaded by the client ends up being accounted to the CloneZilla server's root mount (used size of server root partition can be seen as increasing) rather than getting stored on (i.e., forwarded to) a foreign server's CIFS share.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount cifs share problems BarryLinux Linux - Newbie 11 06-04-2012 12:42 AM
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
Can't mount nfs- or cifs-share rw in Debian pingu Linux - Networking 0 07-03-2007 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration