LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2010, 05:45 AM   #1
Azazwa
Member
 
Registered: Mar 2009
Distribution: Fedora 8, Ubuntu 9.10, SuSE 10, Fedora 14
Posts: 98

Rep: Reputation: 15
Automount a harddisk partition


Hi!

For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.

In YaST's expert partitioner it says that:
Quote:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
Quote:
dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1N1AB-part5 /chemistry ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part7 /code ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part8 /final ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part3 /tydelik ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part2 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/disk/by-id/scsi-SATA_ST31000528AS_5VP1X26E-part5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
~
I don't see a noauto option. Is it hiding somewhere?

Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Quote:
b104pc110 /root# mount /dev/sda3 /tydelik
b104pc110 /root# mount
/dev/sda6 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sdb5 on /chemistry type ext3 (rw,acl,user_xattr)
/dev/sda7 on /code type ext3 (rw,acl,user_xattr)
/dev/sda8 on /final type ext3 (rw,acl,user_xattr)
/dev/sda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/sda2 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sda3 on /tydelik type ext2 (rw)
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?

Thanks!

;-)
 
Old 06-21-2010, 07:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Well I'd wonder if they weren't the same issue, as if there is no valid journal on the filesystem then it will only be mountable as ext2, so fstab's mounting options will fail. You could just change the filesystem type in fstab to auto and it'll presumably also mount it as ext2 that way. if you just create a new journal ("tune2fs -j /dev/sda3" if I recall correctly) then it should clear up both perceived issues.
 
Old 06-21-2010, 12:15 PM   #3
Azazwa
Member
 
Registered: Mar 2009
Distribution: Fedora 8, Ubuntu 9.10, SuSE 10, Fedora 14
Posts: 98

Original Poster
Rep: Reputation: 15
Thanks, the tune2fs command worked when I executed it as root.
;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is dell utility partition on my harddisk partition table meant for sd|| Linux - Newbie 2 03-14-2010 10:13 AM
Automount partition at boot Ragnarok Warrior Linux - Hardware 3 04-06-2009 05:14 PM
automount partition has problem timsch75 Linux - General 3 12-15-2004 06:06 PM
how to partition a harddisk?? Sammy2ooo Linux - Newbie 7 05-14-2003 07:20 AM
harddisk partition chin Linux - Software 1 10-06-2000 02:43 PM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration