1

My Windows drives were set to be automatically mounted in Ubuntu 8.10 when installed more than one year ago. Today I failed to creat a directory on one of the Windows drives, which rarely happened before:

$ mkdir /windows-d/tmp
mkdir: cannot create directory `/windows-d/tmp': Operation not supported

Same problem after switching to root. I can still read and modify the existing files on the Windows drive and but I am not able to create new directory or new file on it.

Permission info is here, for which I don't see anything wrong:

$ ls -l / | grep "windows-d"
drwxrwxrwx 1 root root 229376 2010-10-09 17:47 windows-d

Mounting information about the Windows drive is as follows:

$ cat /etc/mtab
...
/dev/sda5 /windows-d fuseblk rw,nosuid,nodev,allow_other,blksize=4096 0 0
...
$ cat /etc/fstab
# < file system > < mount point > < type > < options > < dump > < pass >
...
# Entry for /dev/sda5 :
UUID=BED8573DD856F35F /windows-d ntfs-3g defaults,locale=en_US.UTF-8 0 1
...
$ df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sda5 32G 31G 1.2G 97% /windows-d

I was wonder what's wrong?

Thanks and regards!


UPDATE:

I just rebooted my computer to Windows XP, created a new directory on the Windows drive then rebooted back to Ubuntu which now allow me to create new file and directory on the Windows drive. Simply rebooting to Windows without creating a new directory does not work. Does anyone know why?

Is there a way to solve the problem without rebooting?

Thanks!

1 Answer 1

3

I have ntfs drive and one can't be found from /etc/fstab (think you have typo, there is no ftab). Attleast one thing what point's out is "ntfs-3g", that is ntfs filesystem driver not filesystem itself.

And from /etc/mtab it's line is following: /dev/sdb2 /media/ntfsHD vfat rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush 0 0

edit: think this is not configuration ubuntu has created itself, is it? Usual mountpoin is /media/

6
  • You are right. Already corrected the typo.
    – Tim
    Oct 10, 2010 at 11:53
  • Am I right that the line in /etc/mtab shows that your drive is vfat not ntfs? What do dmask and umask mean in mtab and fstab?
    – Tim
    Oct 10, 2010 at 11:55
  • To your question in edit: it was set up during installation of Ubuntu, when I specified to automount the Windows drives every time Ubuntu is started.
    – Tim
    Oct 10, 2010 at 11:57
  • You are correft, it were actually fat32 (checked with gparted-programm). What comes to issue being fixed with boot to windows, i believe, that ould cause this for some reason, that disk were marked as "reserved" and witch windows overrun and fixed. Can be caused sometimes with bad shutdown of windows. Tho there should be warning about that.
    – eXlin
    Oct 10, 2010 at 12:10
  • If above is not the case you should try to mount that disk with mount command after removing everything related to that partition in /etc/fstab and mtab (take backups). If it works out set-up new line to fstab for it.
    – eXlin
    Oct 10, 2010 at 12:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .