LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2011, 07:01 AM   #1
costasdk
LQ Newbie
 
Registered: Mar 2008
Location: Athens, Hellas
Distribution: Slacware, Xubuntu, XP
Posts: 5

Rep: Reputation: 0
root partition mounted:/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)


after restore from clonezilla (old disk crashed & replaced with new same size ) .
Partition restored according to clonezilla info was ext4 .
#cat /etc/fstab
....
/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb4 on /usr type ext4 (rw)
....
Both partitions are ext4 why /user is (rw) and /root is so complicated ?
Can i leave it like this or i must correct it ?
How can i correct it ?

Slackware 13.37
#uname -a
Linux 2.6.37.6-smp #2 SMP
#mount -V
mount from util-linux 2.19 (with libblkid support)
# tune2fs -l /dev/sda3
tune2fs 1.41.14 (22-Dec-2010)
Filesystem volume name: <none>
Last mounted on: /
Filesystem UUID: 7990819c-52eb-4b9e-9164-f7fe8124d71c
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: signed_directory_hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 5545984
Block count: 22181748
Reserved block count: 1109087
Free blocks: 17572149
Free inodes: 5468435
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1018
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Flex block group size: 16
Filesystem created: Fri Jan 8 23:54:37 2010
Last mount time: Thu Jun 30 14:40:43 2011
Last write time: Wed Jun 29 20:37:20 2011
Mount count: 3
Maximum mount count: 34
Last checked: Wed Jun 29 22:54:19 2011
Check interval: 15552000 (6 months)
Next check after: Mon Dec 26 21:54:19 2011
Lifetime writes: 212 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: 905c9d93-0d7c-4ef4-9d6c-a885fbcdc72d
Journal backup: inode blocks

Thanks in advance
Panos
 
Old 06-30-2011, 10:59 AM   #2
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Quote:
#cat /etc/fstab
/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb4 on /usr type ext4 (rw)
Seems that something just copyied the output of the mount command into the fstab .
Code:
man 5 fstab
would tell a little about the syntax .

The "on" , "type" and "("'s shouldn't be in there .

What is complicated . Do you mean the many "Filesystem features" ?

If you don't want to experiment use "auto" for the filesystem .

For documentation on the available options for non-
nfs file systems, see "man 8 mount"(8)
 
Old 06-30-2011, 02:09 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
/dev/root on / type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/root is a sym link. I think the information in /etc/fstab should be to the actual phyiscal partition. For example:

/dev/sda3 on / type ext4 (rw,relatime,barrier=1,data=ordered)

I think udev creates the /dev/root sym link.
 
  


Reply



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
[SOLVED] /dev/root with EXT4-FS being mounted as EXT2-FS? rfernandez Slackware 13 11-24-2012 08:41 AM
Ext4 re-mounting root partition. Is this normal? holister Linux - Software 28 02-15-2011 09:56 AM
data capacities of root and mounted partitions bluegospel Linux - Newbie 6 05-31-2010 02:54 AM
Root partition changed to /dev/root mdg Linux - Software 9 02-19-2010 12:03 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 PM.

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
Open Source Consulting | Domain Registration