Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - HowTos Discussions Have any questions about any HowTo found at the wiki? Post in here!

 
Page 1 of 3 1 23
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-May-2007, 18:09
cesar_spain
Guest
 
Posts: n/a
Default


I am posting my /etc/fstab. It is still not properly commented, but it is a good start point.

Code:
# LINUX OS
#---------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******** | Dump | fsck
#---------------------------------------------------------------------------------------
/dev/sda7**** /******************** reiserfs****acl,user_xattr************ 1******1
/dev/sda5**** /home**************** reiserfs****defaults****************** 1******2
/dev/sda6**** swap******************swap********defaults****************** 0******0

# WINDOWS OS
#----------------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******************| Dump | fsck
#----------------------------------------------------------------------------------------------
/dev/sda1**** /windows/C********** ntfs******** users,gid=users**********************0****0
/dev/sda2**** /windows/D********** vfat******** users,gid=users,umask=0002,utf8=true 0****0

# SOLARIS OS
#---------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options******** | Dump | fsck
#---------------------------------------------------------------------------------------
#/dev/sda8**** /solaris/boot****** ufs**********ufstype=sunx86,defaults****0******0
#/dev/sda11****/solaris/data****** ufs**********ufstype=sunx86,defaults****0******0


# EXTERNAL DEVICES
#----------------------------------------------------------------------------------------------------
# Device******| Mount Point (Dir) | Filesystem |********Options************************| Dump | fsck
#----------------------------------------------------------------------------------------------------
proc********** /proc****************proc********defaults********************************** 0**** 0
sysfs**********/sys**************** sysfs****** noauto************************************ 0**** 0
usbfs**********/proc/bus/usb********usbfs****** noauto************************************ 0**** 0
devpts******** /dev/pts************ devpts******mode=0620,gid=5****************************0**** 0
#/dev/sdb2**** /media/back-up****** vfat********rw,users,gid=users,umask=0002,utf8=true****0**** 0
[code]
  #2 (permalink)  
Old 20-May-2007, 07:45
microchip
Guest
 
Posts: n/a
Default

I'd suggest some file system tweaking to get better performance

for ReiserFS: acl,user_xattr,noatime,nodiratime,notail,barrier=f lush
for Ext3: acl,user_xattr,noatime,nodiratime,barrier=1
for XFS: defaults,noatime,nodiratime,barrier
  #3 (permalink)  
Old 20-May-2007, 07:49
cesar_spain
Guest
 
Posts: n/a
Default

Quote:
I'd suggest some file system tweaking to get better performance

for ReiserFS: acl,user_xattr,noatime,nodiratime,notail,barrier=f lush
for Ext3: acl,user_xattr,noatime,nodiratime,barrier=1
for XFS: acl,user_xattr,noatime,nodiratime,barrier
[/b]

Thank you very much for these great tips.

César
  #4 (permalink)  
Old 20-May-2007, 09:46
geoffro
Guest
 
Posts: n/a
Default

Quote:
I'd suggest some file system tweaking to get better performance

for XFS: acl,user_xattr,noatime,nodiratime,barrier
[/b]
When i added acl,user_xattr,noatime,nodiratime,barrier to my fstab i got an error:
Something like unknown acl the and drive would not mount changed it to
xfs defaults,noatime,nodiratime 1 2 and it mounted

/Geoff
  #5 (permalink)  
Old 20-May-2007, 09:52
microchip
Guest
 
Posts: n/a
Default

Quote:
When i added acl,user_xattr,noatime,nodiratime,barrier to my fstab i got an error:
Something like unknown acl the and drive would not mount changed it to
xfs defaults,noatime,nodiratime 1 2 and it mounted

/Geoff
[/b]
yeah my bad, it should be

for XFS: defaults,noatime,nodiratime,barrier

i switched them :wacko:
  #6 (permalink)  
Old 20-May-2007, 09:55
geoffro
Guest
 
Posts: n/a
Default

Quote:
yeah my bad, it should be

for XFS: ...... barrier
for Ext3: ...... barrier=1

i switched them :wacko:
[/b]
Wasn't the barrier that was the problem it was unknown acl

/Geoff
  #7 (permalink)  
Old 20-May-2007, 09:58
microchip
Guest
 
Posts: n/a
Default

Quote:
Wasn't the barrier that was the problem it was unknown acl

/Geoff
[/b]
no, it was the defaults that wasnt there, instead it was acl,user_xattr which is true for other FSes but not for XFS

anyway, corrected now
  #8 (permalink)  
Old 20-May-2007, 11:14
geoffro
Guest
 
Posts: n/a
Default

Quote:
no, it was the defaults that wasnt there, instead it was acl,user_xattr which is true for other FSes but not for XFS

anyway, corrected now
[/b]
Ok now i understand, thanks

/Geoff
  #9 (permalink)  
Old 20-May-2007, 15:03
geoffro
Guest
 
Posts: n/a
Default

Quote:
I'd suggest some file system tweaking to get better performance

for Ext3: acl,user_xattr,noatime,nodiratime,barrier=1
for XFS: defaults,noatime,nodiratime,barrier
[/b]
What do theses settings do?
Something to do with speed i guess.
Just did a backup that usually takes ca 60 min in 30 min

/Geoff
  #10 (permalink)  
Old 20-May-2007, 18:00
broch
Guest
 
Posts: n/a
Default

Quote:
What do theses settings do?[/b]
mostly nothing (because these are either default settings or doubled setings -> 2x the same flag):
1) barrier is included by default, no need to add "barrier" flag

2) noatime includes nodiratime so if one uses noatime flag no need to add nodiratime

for xfs safe options that will improve fs responsiveness

xfs defaults,noatime,logbufs=8,logbsize=32k,biosize=16

if you have UPS then add
nobarrier
I would suggest against using this option

barrier - the cache flush command
noatime and nodiratime - last access time is not recorded (file/dir)
biosize - sets the default I/O size
logbufs - specifies in-memory log buffers
logbsize - size of the buffer
last three options improve delete/write performance
 
Page 1 of 3 1 23

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2