You are not logged in.

#1 2012-08-23 21:44:21

apokatastasis
Member
Registered: 2012-08-23
Posts: 5

[SOLVED] Mount problems

I installed Arch Linux on a partition on my machine with a few complications, but painlessly enough I suppose.

So anyway, I rebooted back into it today with the express purpose of doing some more config (primarily, to get ALSA and static IP/ssh working), and noticed that when I mounted my external HDD... well, see for yourself:

tifIT.png

I've been using debian for about a month but I am by no means proficient with Linux systems and I have no idea what to do with this.

For the record, the disk in question is /dev/sdc1, mounted in ~/free. I created a directory ~/test and mounted a flash drive, /dev/sdd1, to it (also in the screenshot), for purposes of comparison. test has the right permissions but still doesn't have the right owner/group (which I suppose isn't that big of a deal because it might actually be possible to sudo chown/chgrp that directory).

I had an fstab line for /dev/sdc1:

/dev/sdc1 /home/casey/free auto auto,user 0 0

but it failed to mount at startup.

I can access the disk as root but still can't do anything with the files as the disk is mounted (for some reason) as read-only, any help would be very appreciated.

Last edited by apokatastasis (2012-08-24 01:46:11)


Arch/dwm

Offline

#2 2012-08-24 00:05:49

oi_wtf
Member
From: /home/wtf
Registered: 2012-03-11
Posts: 191

Re: [SOLVED] Mount problems

It would have been nice to know which filesystem you've got on your external HDD,
since, for example, write access on NTFS filesystems is only possible using ntfs-3g,
so you might need that if you've got NTFS on your HDD...


Laptop:   Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-3630QM @ 2.40GHz, 8 GiB RAM, NViDiA GeForce GT 650M w/ 2 GiB
Desktop: Arch Linux (x86_64) and Win10 (x86_64);  Intel Core i7-4771  @ 3.50GHz, 32 GiB RAM, AMD Radeon RX 480 w/ 8 GiB

Offline

#3 2012-08-24 00:15:19

PaulBx1
Member
Registered: 2008-10-18
Posts: 142

Re: [SOLVED] Mount problems

Show the results of these commands

cat /etc/fstab
mount

Also look in your system log for errors.

Offline

#4 2012-08-24 00:39:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Mount problems

Also please resize (or just ditch) the image to fit forum guidelines.  That is an enormous image, of which only a small portion is relevant, and for which the only relevance is 2 lines of text.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2012-08-24 01:45:23

apokatastasis
Member
Registered: 2012-08-23
Posts: 5

Re: [SOLVED] Mount problems

Trilby wrote:

Also please resize (or just ditch) the image to fit forum guidelines.  That is an enormous image, of which only a small portion is relevant, and for which the only relevance is 2 lines of text.

Done.

oi_wtf wrote:

It would have been nice to know which filesystem you've got on your external HDD,
since, for example, write access on NTFS filesystems is only possible using ntfs-3g,
so you might need that if you've got NTFS on your HDD...

Thanks, this was it. I never really knew you had to have ntfs-3g to mount NTFS as writable because all that was done automatically in debian.

Anyway, I replaced the first 'auto' with 'ntfs-3g' in my fstab and the mounting works fine. I also replaced the gid and uid so that the disk will be owned by myself and not by root (as per the ntfs-3g wiki documentation).

Also, here's the output of cat /etc/fstab (even though I guess this is solved now someone might still want it):

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
# UUID=c47aab07-d7d0-4728-a735-7af63b007777
/dev/sda4           	/         	ext3      	rw,relatime,data=ordered	0 1
/dev/sdc1 /home/casey/free ntfs-3g gid=casey,uid=casey,auto,user 0 0

Arch/dwm

Offline

#6 2012-08-24 01:59:22

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED] Mount problems

After installing ntfs-3g, there should already exist a symlink /usr/bin/mount.ntfs -> ntfs-3g in order to use it with the auto keyword.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB