mounting HPFS/NTFS/exFAT read only

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

mounting HPFS/NTFS/exFAT read only

Postby capchap » Sat Aug 16, 2014 4:03 am

Hi all,
I am trying to mount a hard disk..actually it mounts, but it mounts read only.
mount command defaults to rw, but just to help it I used mount -u
both mounts resulted in a read-only mounted system

Background:
I want to use pogoplug to mount a drive that I can backup my MAC using time machine (TM).
I have the time machine part working, connecting to the server, attempting to write, but in test I did not have a HDD mounted, only a 16gb thumbdrive and TM failed due to lack of sufficient space. It did write the initial DIR and did put some files in it...so that end works.

I (think) i know that linux can rw ntfs, but maybe not... I'm not sure now.
I have googled useable file systems for linux and windows, but couldn't find anything that said specifically it could write to the ntfs drive. I also didnt see anything that said specifically it could not.

$this->bbcode_second_pass_code('', 'Here is my fdisk -l results

Disk /dev/sdb: 1.8 TiB, 2000398933504 bytes, 3907029167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1d121f18

Device Boot Start End Sectors Size Id Type
/dev/sdb1 63 3907024127 3907024065 1.8T 7 HPFS/NTFS/exFAT')

results of df
$this->bbcode_second_pass_code('', '[root@Jalepeno MAC]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 1.8G 12G 14% /
devtmpfs 123M 0 123M 0% /dev
tmpfs 123M 0 123M 0% /dev/shm
tmpfs 123M 332K 123M 1% /run
tmpfs 123M 0 123M 0% /sys/fs/cgroup
tmpfs 123M 0 123M 0% /tmp
tmpfs 25M 0 25M 0% /run/user/0
/dev/sdb1 1.9T 31G 1.8T 2% /media/MAC/timemachine')

results of:
$this->bbcode_second_pass_code('', '[root@Jalepeno MAC]# ls -l
total 8
dr-x------ 1 root root 8192 Dec 28 2013 timemachine')

results of chmod
$this->bbcode_second_pass_code('', '[root@Jalepeno MAC]# chmod 766 timemachine
chmod: changing permissions of 'timemachine': Read-only file system')

results of fsck
$this->bbcode_second_pass_code('', '[root@Jalepeno MAC]# fsck
fsck from util-linux 2.25
fsck.ext3: Unable to resolve 'LABEL=ROOTFS'')

tried to unmount
$this->bbcode_second_pass_code('', '[root@Jalepeno media]# umount timemachine
umount: timemachine: mountpoint not found')

only way to disconnect from drive is to reboot.

with drive not mounted:
$this->bbcode_second_pass_code('', '[root@Jalepeno MAC]# ls -l
total 8
drwxrwxrwx 2 root root 4096 Aug 15 23:27 timemachine')

I did notice the date change when drive is mounted, but I'm not sure what impact that might have...probably none, I think its the date that drive was originally formatted.

not sure where to turn
I'm guessing its because it isn't an ext filesystem and the bottom line is that linux CANNOT write to ntfs, so it opens it read-only

I'd reformat the drive to find out, but it contains a bunch of stuff I'd rather not move right now...unless I have no choise Id like to keep the data on that drive...

would greatly appreciate some guidance

not looking for syntax, but really could use a useful reference
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: mounting HPFS/NTFS/exFAT read only

Postby capchap » Sat Aug 16, 2014 6:56 am

OK, I've read several post on the internet that some say:
it is not possible,
others,
not recommended
and still others:
have been doing it for years

I guess I'm just going to have to reformat the drive to linux and be done with it.
capchap
 
Posts: 60
Joined: Sat Aug 09, 2014 3:47 am

Re: mounting HPFS/NTFS/exFAT read only

Postby moonman » Sat Aug 16, 2014 9:59 am

Yoi can still use ntfs
https://wiki.archlinux.org/index.php/NTFS-3G

But formatting to ext is the best way.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 4 guests