LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Troubles in mounting 1TB hdd (https://www.linuxquestions.org/questions/linux-hardware-18/troubles-in-mounting-1tb-hdd-738403/)

0zMe 07-07-2009 02:30 PM

Troubles in mounting 1TB hdd
 
Hello everyone,

I've some problems in mounting my 1TB hdd.
I can't get permission to write on the hdd.

How I mount?

Code:

bash-3.1# mount /dev/sdd1 /home/user/abc -o rw,uid=500
bash-3.1# mount
/dev/root on / type ext3 (rw,errors=continue,data=ordered)
/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda4 on /usr/local type ext3 (rw)
/dev/hda1 on /wnxp type fuseblk (rw,allow_other,blksize=4096)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sdd1 on /home/user/abc type ntfs (rw,uid=500)
bash-3.1#

As you can see above, I should have Read & Write permission for /dev/sdd1 but even if I want to create a folder on the hdd I get this error:

Code:

sh-3.1$ cd /home/user/abc
sh-3.1$ mkdir homedir
mkdir: cannot create directory `homedir': Read-only file system
sh-3.1$

I can only read files on my hdd but I would like to write.

How can I solve this problem?

kilgoretrout 07-07-2009 02:58 PM

You are defaulting to the standard linux kernel ntfs driver when you mount that way and that driver is read only. You need to mount with the ntfs-3g driver if you want rw access to an ntfs partition. The syntax is:

# mount -t ntfs-3g -o rw,nosuid,nodev,allow_other,blksize=4096 <device file> <mount point>

0zMe 07-13-2009 07:22 AM

Thanks for your help, the problem is solved. Sorry for my delayed answer.


All times are GMT -5. The time now is 10:35 AM.