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 :newbie: :Pengy: :confused: |
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 |
Quote:
:newbie: |
You need to create a partition on the drive first and format it before you can mount it
|
Could you post your /etc/fstab file.
I just want to see if when you added the new hard drive with the GUI, if it was included in that file also. javiergt |
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.
thanks for helping me. |
Ok, try logging in as root like this:
# su - Then is going to ask you for the password for root, put it in and then try to read the /etc/fstab Looks like you might swith to root by doing this # su That way you don't inherit root's profile, you keep the previous users profile. Let me know, javiergt |
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. |
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 |
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.
|
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 |
Excellent.
|
All times are GMT -5. The time now is 12:53 PM. |