Changeset 24036

Show
Ignore:
Timestamp:
09/30/09 18:00:04 (6 months ago)
Author:
rbasch
Message:

In reactivate:

  • Mount the login snapshot file system as ext2, with noatime.
Location:
trunk/debathena/config/reactivate/debian
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/debathena/config/reactivate/debian/athena-login-snapshot

    r23644 r24036  
    8585    fi 
    8686 
     87    # To improve performance, we do not want ext3 journalling on the 
     88    # snapshot filesystem, as it is destroyed at the end of session anyway. 
     89    # First disable full filesystem checking, and use fsck to ensure the 
     90    # journal is applied.  Then disable the journal, so we can mount it 
     91    # as an ext2 filesystem. 
     92    v tune2fs -c 0 -i 0 "$loginlvpath" 
     93    v e2fsck -y "$loginlvpath" || [ $? -eq 1 ] 
     94    v tune2fs -O ^has_journal "$loginlvpath" 
     95    sync 
     96 
    8797    # Mount the login snapshot. 
    8898    mkdir -p /login 
    89     v mount "$loginlvpath" /login 
     99    v mount -t ext2 -o noatime "$loginlvpath" /login 
    90100 
    91101    # Enable subtree operations on /media by making it a mount point, 
  • trunk/debathena/config/reactivate/debian/changelog

    r24024 r24036  
     1debathena-reactivate (1.23) unstable; urgency=low 
     2 
     3  * Mount the login snapshot file system as ext2, with noatime. 
     4 
     5 -- Robert Basch <rbasch@mit.edu>  Wed, 30 Sep 2009 17:49:49 -0400 
     6 
    17debathena-reactivate (1.22) unstable; urgency=low 
    28