Setting an External Drive For a Network Drive

I’m having some issues trying to set up an external usb hard drive to a network drive. The drive is setup in NFTS because I have Windoze machines that will need to access it. I have tried to set the share options and permissions in dolphin but when I reboot I get errors that the share no longer exist. Any help would be great. I can access the files on the drive on dolphin but it isn’t staying mounted at boot. Also I have tried FAT and NFTS formats and no go.

Just some more information I have my samba network up and running and full functional except for the drive, so the other PC are on the same network.

On Fri March 5 2010 10:46 pm, TuxAttack80 wrote:

>
> Just some more information I have my samba network up and running and
> full functional except for the drive, so the other PC are on the same
> network.
>
>
TuxAttack80;

I assume you meant NTFS and are using a cifs mount. To mount at boot you need
to add the the mount to /etc/fstab. See:
http://opensuse.swerdna.org/susesambacifs.html
for a guide on adding a CIFS mount to fstab.


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

If it’s a shared network drive, there is no gain in making it NTFS. The type of filesystem does not manifest itself in the network share, provided it’s sufficiently featureful, meaning, not FAT, which has no ownership info. Samba will share it equally well even if it’s a Linux filesystem, and you gain some efficiency not having to go through the NTFS layer in Linux.

Okay so just to clarify, format it to FAT or what format would you recommend. I’m really new at the network aspect, but thanks to Linux HOWTOs and Tutorials: Suse Linux 10.0, 10.1 openSUSE 10.2, 10.3, 11.0, 11.1 I was able to get it going. Like I said earlier in a separate forum I want to learn and I guess this the best waylol!

Thanks I’m looking over that right now, thats a very helpful site I used the other night to get my network running.

If using 11.2, just let it default to ext4 like the rest of your other filesystems.

Ok cool I’m going to format it right now.

On Fri March 5 2010 11:56 pm, ken yap wrote:

>
> If it’s a shared network drive, there is no gain in making it NTFS. The
> type of filesystem does not manifest itself in the network share,
> provided it’s sufficiently featureful, meaning, not FAT, which has no
> ownership info. Samba will share it equally well even if it’s a Linux
> filesystem, and you gain some efficiency not having to go through the
> NTFS layer in Linux.
>
>
TuxAttack80;

Ken Yap is correct. By your choice of format I assumed the drive was
connected to a Windows machine. If that is wrong, my earlier post is not
valid. In an case, to have Linux mount a drive at boot it should be
in /etc/fstab or you could do via a root cron job with a time of @reboot.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

okay I’ve got a problem, everything seemed to work okay according to yast but when I use the command mount -a i get this:

mount error: can not change directory into mount target sdc1/media/disk-3

okay I think I may have found the issue. It seems that my external drive keeps refreshing drive numbers after every boot. I started with disk-1 and now I’m on disk-5. Not sure whats going on or if this is normal.

Give the partition a label and it will mount on /media/<LABEL>

@venzkep, I think TuxAttack80 is mounting and sharing the usb drive from openSUSE, serving the resources to windows machines and not necessarily wanting to map it back into openSUSE via samba/cifs (because it’s already mounted physically).

That is correct swerdna sorry that I left that out. What is the best way to go about that I’m still not able to get it to work the drive keeps changing ID’s. Also at first I didn’t think it made a differences but seeing now that it may this is a self powered HDD enclosure that I’m using for an external. I was able to mount it via usb on the Belkin N+ router under windows using belkins software but couldn’t access it in linux. Thats why I connected it to the openSUSE machine so it would show in both windows and linux networks. If I thought that my Power Supply could handle another drive I would just mount it internally but I already have 2 internal drives and a GT 240 and the PSU is only a 300 watter.

Success!!! The drive is up and running, Thanks for your post room I was able to see what I was doing wrong, first mistake like swerdna pointed out was that I was trying to mount something that was already mounted on my system. Mistake number two which ken-yap pointed out was that I wasn’t giving my drive a label. Now the drive stays with the same name and I can access it all of my machines:) This is why I love openSUSE, where else would you get this kind of advise! Yeah I’m gity as a school girl now I knowrotfl!

One small step for a man, one giant step for mankind.