Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mounting a new hard drive 4

Status
Not open for further replies.
Aug 12, 2004
949
US
All

I am a LINUX newbie and I have added a 80 GIG hard drive in a Linux box (redhat 8 server) and have used fdisk and formatted it in ext3 file system.

I want to use it for file storage with SAMBA and would like to know how to create a mount point /dev/hdb (my new drive). Once I get this, I should be able to create a share in Samba to point to this drive, correct?

Thanks,

Erik
 
Well I would still go for the fstab entry as being (now that you have a /disk2 mount point :

Code:
/dev/hdb1       /disk2               ext3    defaults,errors=remount-ro 0

remove the line with "LABEL" etc,
and then reboot

If that does not work then I have no idea !

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Great, that did it!

Now my last issue seems to be that I can browse it and see it as a SAMBA server, but when I try to write to it it gives me a "Access is Denied" error. I also see a lost+found directory but I can't delete it, same error.

Almost there!!

Thanks to all!

Erik
 
I'm not sure why you can't write to your SAMBA share, but the lost+found directory you should leave. It is used to store relinked inodes when you run a check on a corrupted filesystem (using fsck).

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top