View Full Version : hard drive mounting problems
Nemo
2005-03-28, 04:00 AM CST
Hay guys,
I have formatted some hard drives to ext3 from NTFS as root i seem to be able to access the drives and edit the contets. All the data that is on the hard drives at the moment was put there by root, as i formatted a blank partition to ext3 then copied data from a NTFS partition over to it and formatted the new blank partition ext3 etc..
Looking on the internet i have found many commnd lines that i can put into fstab that 'should' give me reand and write access to the drives but still i am only able to read them.
Can anyone help me?
Many Thanks
awdac
2005-03-28, 06:32 AM CST
Well, what did you put in fstab that's not working? Might help to know what you've done so that we can suggest something you haven't.
Nemo
2005-03-28, 07:31 AM CST
At the moment i have:
/dev/hde2 /mnt/tmp3 ext3 defaults 1 2
/dev/hde3 /mnt/tmp4 ext3 defaults 1 2
/dev/hdf1 /mnt/tmp5 ext3 defaults 1 2
/dev/hdh1 /mnt/tmp6 ext3 defaults 1 2
I have also tryed:
/dev/hde2 /mnt/tmp3 ext3 users,owner,rw,umask=000 0 0
/dev/hde3 /mnt/tmp4 ext3 users,owner,rw,umask=000 0 0
/dev/hdf1 /mnt/tmp5 ext3 users,owner,rw,umask=000 0 0
/dev/hdh1 /mnt/tmp6 ext3 users,owner,rw,umask=000 0 0
but nither of these have helped.
tashirosgt
2005-03-28, 07:33 AM CST
These are IDE hard drives? How many do you have, six?
Nemo
2005-03-28, 07:48 AM CST
using the mount command i have been able to mount all drives to correct folder, but am unable to write anything to the drives as i am not logged in as root.
All the data that is on the hard drives at the moment was put there by root. This wouldnt have anything to do with the problem would it?
I have changed my account to be part of the root group in the user manager and set my 'primary group' to root.
still no luck. I dont have to make myself owner of all the files and folders to have access do i?
Many Thanks for any help.
awdac
2005-03-28, 07:58 AM CST
All the data that is on the hard drives at the moment was put there by root. This wouldnt have anything to do with the problem would it?Well, if root owns the files and their permissions don't allow write for other users, it seems that *is* the problem.
I have changed my account to be part of the root group in the user manager and set my 'primary group' to root.
still no luck. I dont have to make myself owner of all the files and folders to have access do i?
If permissions are 755 or some such, then adding yourself to the root group won't help any, as only the owner will have write priveleges.
What does an 'ls -l' show for permissions?
You may use the 'chmod -R' command to change permissions, and the chown and chgrp to change permissions. The '- R' swiotch for all those commands makes it recursive and it will change the directories and all the files in them to what you specify.
Be careful.
Nemo
2005-03-28, 03:02 PM CST
Many thanks for the help, all sorted now and all drives are accessable and writable
:D
NotAnyWhereEver
2005-03-31, 09:39 PM CST
Hi, I'm trying to do the same thing as Nemo here and I cant get either to boot after adding the following to my fstab file. Can someone take a look at this and tell me what I'm doing wrong?
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4865 38973690 8e Linux LVM
Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 2 14946 120045712+ f W95 Ext'd (LBA)
/dev/hdb5 2 11211 90044293+ 7 HPFS/NTFS
/dev/hdb6 11212 14946 30001356 83 Linux
This is what I added to the fstab file
/dev/hdb6 /mnt/Windows ntfs users,owner,ro,umask=000 0 0
/dev/hdb5 /mnt/Data ext3 users,owner,rw,umask=000 0 0
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.