RedHat 9 added Second Harddrive for use with Samba
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Rep:
RedHat 9 added Second Harddrive for use with Samba
Im using Redhat 9 with the GUI and just added a Maxtor 160Gb hard drive that i want Samba to have directories in the big drive not my small 6 gb drive. how do i make directories that are located on the big hard disk instead of the small drive. The OS is installed on the smaller drive and would like to keep it there if possible. also wanted to mention that the smaller drive is id as dev/hdc and the larger oen is id as /dev/hdd.
thanks in advance,
tekyd
p.s if you need more info i tell me and i will try to find it and add it to this
Is your new hard drive mounted?
Make sure your new hard drive is mounted and then you need to create new directories in the new hard drive.
After that you need to add those directories in your samba configuration file.
Let me know if that helps at all in your problem.
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Original Poster
Rep:
Quote:
Originally Posted by javiergt
Is your new hard drive mounted?
Make sure your new hard drive is mounted and then you need to create new directories in the new hard drive.
After that you need to add those directories in your samba configuration file.
Let me know if that helps at all in your problem.
javiergt
the only way i see the hard drive is in the hardware utility. in the mount utility i cant see it. if you could tell me how to mount it that mould be most helpful. thanks.
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Original Poster
Rep:
my computer tells me " permission denied" when trying to veiw the fstab file while loged in as root. also i did format the hard disk and i did format it but im not sure what directory leads to the hard disk.
RH9 will not automatically create a diretory to use as mount point nor an entry in the /etc/fstab file.
You can create a directory using the console command mkdir. i.e. (non GUI method)
mkdir /shares (creates the mount point)
chmod 777 /shares (to make it world read/writable)
Add to /etc/fstab
mount -t fstype /dev/hddx /shares defaults 1 2 (enter correct filesystem type and partition id)
mount /shares (to mount the filesystem)
Once you get the filesystem mounted we can help you setup samba.
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Original Poster
Rep:
im realy confused. i have the disk partioned but not usre how to mount and format and whatever else people have sugested. also trying console commands is something i think my comp doesnt like. and i dont trust myself with completely text interface.
the drive is labled hdd
the partition is hdd1
thats about it
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Original Poster
Rep:
i jsut tried uyour segestions again and i think i got it mounted and i added it to samba but other computers cant access it yet and i dont know why. i added it the same way i added the otehr dir on the smaller drive but it wont alow access to the dir from other computers on the network.
Distribution: Red Hat 9 Ubuntu 6.06 (Dapper Drake)
Posts: 26
Original Poster
Rep:
i kept at it anmd finaly got it to work it was the fact that i looked in the root sub dir instead of the main dir and i finaly got it to work.
thanks a bunch for your help everyone.
dan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.