Re: What's wrong with this /etc/fstab ?

2012-06-06 Thread Olav Vitters
On Tue, Jun 05, 2012 at 11:36:19AM -0700, Jonathan Ryshpan wrote:
 Nope.  You have found the problem.  As soon as I created the ntfs group,
 everything started to work.  Though I found this error message
 
 # mount /mnt/c
 mount: only root can mount UUID=E0649EB1649E8A44 on /mnt/c
 
 which I got while running as root to be rather deceptive.

Could you file a bug against mount for the unhelpful error message?

-- 
Regards,
Olav
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


What's wrong with this /etc/fstab ?

2012-06-05 Thread Jonathan Ryshpan
The following /etc/fstab will cause Fedora-17 to crash into maintenance
mode during the boot process:

#
# /etc/fstab
# Created by anaconda on Thu May 31 03:46:19 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=af00b8ae-193d-47b4-b0cd-ac6b61c310c8 / ext4defaults
  1 1
UUID=d210f7ff-648a-4850-967e-f2b730765f1d /boot ext4defaults
  1 2
UUID=b715c378-9006-46b4-b439-3c6fa870e990 /home ext3defaults
  1 2
UUID=7f502361-16af-4b6f-98e0-23a1bd17bcb6 /var  ext4defaults
  1 2
UUID=E0649EB1649E8A44 /mnt/cntfs
gid=ntfs,umask=0070 0# =
UUID=1f4afb3a-051d-4cce-9c86-14cf111e669a swap  swapdefaults
  0 0

However if the marked line (for the mount point /mnt/c) is commented
out, the system starts fine.

Thanks in advance - jon


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread Roberto Ragusa
On 06/05/2012 12:22 PM, Jonathan Ryshpan wrote:
 The following /etc/fstab will cause Fedora-17 to crash into maintenance
 mode during the boot process:
 
 #
 # /etc/fstab
 # Created by anaconda on Thu May 31 03:46:19 2012
 #
 # Accessible filesystems, by reference, are maintained under '/dev/disk'
 # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
 #
 UUID=af00b8ae-193d-47b4-b0cd-ac6b61c310c8 / ext4defaults  
 1 1
 UUID=d210f7ff-648a-4850-967e-f2b730765f1d /boot ext4defaults  
 1 2
 UUID=b715c378-9006-46b4-b439-3c6fa870e990 /home ext3defaults  
 1 2
 UUID=7f502361-16af-4b6f-98e0-23a1bd17bcb6 /var  ext4defaults  
 1 2
 UUID=E0649EB1649E8A44 /mnt/cntfs
 gid=ntfs,umask=0070 0# =
 UUID=1f4afb3a-051d-4cce-9c86-14cf111e669a swap  swapdefaults  
 0 0
 
 However if the marked line (for the mount point /mnt/c) is commented
 out, the system starts fine.
 
 Thanks in advance - jon

Boot with commented line, then uncomment it, then mount /mnt/c.
What happens?


-- 
   Roberto Ragusamail at robertoragusa.it
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread Jonathan Ryshpan
On Tue, 2012-06-05 at 12:27 +0200, Roberto Ragusa wrote:
 On 06/05/2012 12:22 PM, Jonathan Ryshpan wrote:
  The following /etc/fstab will cause Fedora-17 to crash into maintenance
  mode during the boot process:
  
  #
  # /etc/fstab
  # Created by anaconda on Thu May 31 03:46:19 2012
  #
  # Accessible filesystems, by reference, are maintained under '/dev/disk'
  # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
  #
  UUID=af00b8ae-193d-47b4-b0cd-ac6b61c310c8 / ext4defaults
1 1
  UUID=d210f7ff-648a-4850-967e-f2b730765f1d /boot ext4defaults
1 2
  UUID=b715c378-9006-46b4-b439-3c6fa870e990 /home ext3defaults
1 2
  UUID=7f502361-16af-4b6f-98e0-23a1bd17bcb6 /var  ext4defaults
1 2
  UUID=E0649EB1649E8A44 /mnt/cntfs
  gid=ntfs,umask=0070 0# =
  UUID=1f4afb3a-051d-4cce-9c86-14cf111e669a swap  swapdefaults
0 0
  
  However if the marked line (for the mount point /mnt/c) is commented
  out, the system starts fine.
  
  Thanks in advance - jon
 
 Boot with commented line, then uncomment it, then mount /mnt/c.
 What happens? 

Very strange things happen.  With the line commented out the device can
be mounted without problems.  But with the line uncommented this happens
(note that I'm running as root):
# mount /mnt/c
mount: only root can mount UUID=E0649EB1649E8A44 on /mnt/c
This fstab line worked perfectly on Fedora-16.





-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread Olav Vitters
On Tue, Jun 05, 2012 at 04:44:22AM -0700, Jonathan Ryshpan wrote:
 Very strange things happen.  With the line commented out the device can
 be mounted without problems.  But with the line uncommented this happens
 (note that I'm running as root):
 # mount /mnt/c
 mount: only root can mount UUID=E0649EB1649E8A44 on /mnt/c
 This fstab line worked perfectly on Fedora-16.

Do you see anything in dmesg or /var/log/messages?

Does 'getent group ntfs' work?

-- 
Regards,
Olav
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread JD

On 06/05/2012 03:22 AM, Jonathan Ryshpan wrote:

The following /etc/fstab will cause Fedora-17 to crash into maintenance
mode during the boot process:

#
# /etc/fstab
# Created by anaconda on Thu May 31 03:46:19 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=af00b8ae-193d-47b4-b0cd-ac6b61c310c8 / ext4defaults
  1 1
UUID=d210f7ff-648a-4850-967e-f2b730765f1d /boot ext4defaults
  1 2
UUID=b715c378-9006-46b4-b439-3c6fa870e990 /home ext3defaults
  1 2
UUID=7f502361-16af-4b6f-98e0-23a1bd17bcb6 /var  ext4defaults
  1 2
UUID=E0649EB1649E8A44 /mnt/cntfsgid=ntfs,umask=007 
   0 0#=
UUID=1f4afb3a-051d-4cce-9c86-14cf111e669a swap  swapdefaults
  0 0

However if the marked line (for the mount point /mnt/c) is commented
out, the system starts fine.

Thanks in advance - jon



Here is my entry for my windows partition in fstab and it works just fine:

UUID=4088A66688A65A64 /sda1 ntfs 
uid=520,gid=520,rw,exec,umask=007  0 1


except that umask has absolutely no effect on file perms.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread Jonathan Ryshpan
On Tue, 2012-06-05 at 15:47 +0200, Olav Vitters wrote:
 On Tue, Jun 05, 2012 at 04:44:22AM -0700, Jonathan Ryshpan wrote:
  Very strange things happen.  With the line commented out the device can
  be mounted without problems.  But with the line uncommented this happens
  (note that I'm running as root):
  # mount /mnt/c
  mount: only root can mount UUID=E0649EB1649E8A44 on /mnt/c
  This fstab line worked perfectly on Fedora-16.
 
 Do you see anything in dmesg or /var/log/messages?
 
 Does 'getent group ntfs' work?

Nope.  You have found the problem.  As soon as I created the ntfs group,
everything started to work.  Though I found this error message

# mount /mnt/c
mount: only root can mount UUID=E0649EB1649E8A44 on /mnt/c

which I got while running as root to be rather deceptive.

Thanks - jon


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: What's wrong with this /etc/fstab ?

2012-06-05 Thread Thibault NĂ©lis
Maybe try ntfs-3g?  I'm not really up-to-date on what's the default NTFS 
driver now, but I know this used to be some kind of mess.


  # mount -t ntfs-3g

Options[0] may be different.

[0] http://www.tuxera.com/community/ntfs-3g-manual/
--
t
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org