PDA

View Full Version : New HDD trouble, acces denied?!?!?!


d347hm4n
2006-12-29, 04:57 PM CST
Hi, I'm using FC6 and i have just put a new hdd from the internet into my box, it is 400gb, i though i would do a fresh re-install and sort all of my partitions out, formatted the drive in fat32, now when i want to write to it it say's access denied. I logged out and log back in as root, when to the drive and looked at the permission's.

Owner, r+w
Group, r
Others, r

i tired to change it in the gui, but nothing seems to have worked, i don't want to mess with it too much, waiting for some input from someone else, more knowledgable

marcrblevins
2006-12-29, 05:21 PM CST
fat32? Should you be using ext3? What brand is this? If I was you, I would use the hard drive manufactor's drive test program. Maxtor's is PowerMax 4.23, and Seagate is SeaTools. It should tell if if it needs to be sent in if under warranty or or low format it.

Anyhow, I ordered 3 Maxtor drive in November, planned to use two for mirror and last one for backup(tar). Anyhow 2nd drive was not recognizable. Returned to Maxtor, took a month for them to send me a refurbish one. Got my mirror drives in, installed FC6. Works great. Time to use the 3rd drive as backup drive. Getting e-mail from smartd that the drive is failing on sectors. Ran Maxtor's PowerMax 4.23, was told to replace it. Contact Maxtor online, but they moved to Seagate Technical Support. Now send it to Seagate. Wait another month? Geez.

Brian1
2006-12-29, 05:22 PM CST
Add the option umask=000 in /etc/fstab line for the partition.
ie:
/dev/sdm1 /mnt/sd_block/sdm1 auto umask=000,users,noauto,owner,rw,dirsync 0 0

Brian

techmatt
2006-12-29, 05:26 PM CST
I don't know if you set it up in the fstab or not. If not you need to.
as root
gedit /ect/fstab


This site my help with how to set it up. http://www.informatik.uni-freiburg.de/~mader/FSTAB-Tuning.html

you my just need to set the uid (not sure based on your post)

if you could post the output of cat /ect/fstab and state wich hard drive it is like hda or hdb or mybe even sda or sdb it would help alot

Edit: ok Brian1 beat me to it

Brian1
2006-12-29, 06:40 PM CST
Hi techmatt, Never seen that link before. Very simply and clean info on fstab. Will make a note of that one.

Brian

d347hm4n
2006-12-30, 06:14 AM CST
changed my fstab too
LABEL=/ / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
/dev/hdb2 /media/storage vfat rw,defaults,umask=0000 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hdb1 swap swap defaults 0 0

@ marcrblevins I have chossen to use fat32 as both windows and linux can read and write to it. Because all of my media is on this drive i need to be able to see it from either system and make changes from either side of the fence
Thanks all