Unable to get full access to second hdd

I have just installed suse 11.1 to my pc, after moving files from an ntfs hdd I reformatted it as ext3 format and mounted, but now whatever I do I cannot get full read/write access to the drive, even in root login.

Can anyone help me out?

Alex

Open a terminal and enter:

cat /etc/fstab

Post result

Tell us which of the lines refers to the partition in question

My fstab is as follows,

/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part3 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3160021A_3LJ3M7AE-part1 /home/alex/Media/Videos ext3 defaults 1 2
/dev/disk/by-id/ata-ST3200822A_4LJ2R9QS-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

the drive in question is the one assigned to /home/alex/Media/Videos (ata-ST3160021A_3LJ3M7AE-part1)

Thanks

Alex

/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part2 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST3250820AS_9QE2SE7V-part3 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/ata-ST3160021A_3LJ3M7AE-part1 /home/alex/Media/Videos ext3 defaults 1 2
/dev/disk/by-id/ata-ST3200822A_4LJ2R9QS-part1 /windows/C ntfs-3g defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

FSTAB - Editing Manually - openSUSE Forums
Change as shown above
reboot

I’ve been unable to get anywhere with this guide, it seems to be for windows formatted drives. A friend said to unmount the linux drive in question and mount it again in my main login, but it says only root can mount drives.

Spirit181 wrote:
> I’ve been unable to get anywhere with this guide, it seems to be for
> windows formatted drives. A friend said to unmount the linux drive in
> question and mount it again in my main login, but it says only root can
> mount drives.

Yes, only root can mount drives, but any command may be run as root by
prefacing it with “sudo”, i.e.

sudo mount -t …

The first time you use sudo, you get a warning about the power/risk in
doing stuff as root. You should be careful.

Do you have permission to write in the directory on the drive? The
command ‘ls -l /xxxxxx’, where xxxxxx is the path of that directory,
will tell you the permissions.

Larry

Sorry I don’t know why I missed the drive in question. Guess I just assumed it was for the ntfs partition.
The details for your /Videos looks OK

You could try # out the line. Reboot.
Then use Yast Partitioner to add the partition - see if that help.

The partitioner should add another line to fstab, reboot needed of course.

If this fails try from a su terminal

chown alex /home/alex/Media/Videos

I guess you could try this with the current code in fstab first

what about changing the:

/dev/disk/by-id/ata-ST3160021A_3LJ3M7AE-part1 /home/alex/Media/Videos ext3 defaults 1 2

part of fstab to:

/dev/disk/by-id/ata-ST3160021A_3LJ3M7AE-part1 /home/alex/Media/Videos ext3 defaults 0 0

since the /home/alex/Media/Videos is the one giving him trouble, not the ntfs one

well, its just a tough

greetz,

meheezen

Not entirely true. If you use the ‘users’ option in fstab, any local user on the system can mount/umount the specific partition with that option

I think I have it sorted now and seem to have full access. Thanks for the help guys

(stay tuned for my next dilemma LOL)

Alex