User Tools

Site Tools


docs:vserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:vserver [2015-10-05 14:38] – [XFS filesystem - kernel upgrade causes xfs related oops (xfs_filestream_lookup_ag)] arekmdocs:vserver [2015-10-05 15:07] (current) – syn on glen
Line 722: Line 722:
 That's because vserver patch for kernels earlier than 2.6.23 patched xfs filesystem to introduce new flag: That's because vserver patch for kernels earlier than 2.6.23 patched xfs filesystem to introduce new flag:
  
-<file>+<file c>
 #define XFS_XFLAG_BARRIER     0x00004000      /* chroot() barrier */ #define XFS_XFLAG_BARRIER     0x00004000      /* chroot() barrier */
 </file> </file>
Line 730: Line 730:
 Starting with kernel 2.6.23 kernel introduced filestreams which are using 0x00004000 bit, thus causing conflict with vserver. Starting with kernel 2.6.23 kernel introduced filestreams which are using 0x00004000 bit, thus causing conflict with vserver.
  
-<file>+<file c>
 #define XFS_XFLAG_FILESTREAM   0x00004000      /* use filestream allocator */ #define XFS_XFLAG_FILESTREAM   0x00004000      /* use filestream allocator */
 </file> </file>
Line 739: Line 739:
 How to find out if I'm affected? How to find out if I'm affected?
  
-Modify http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git;a=blob_plain;f=src/bstat.c;hb=HEAD to show only files containing XFS_XFLAG_FILESTREAM+IIF you don't use filestream feature then modify http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/cmds/xfstests.git;a=blob_plain;f=src/bstat.c;hb=HEAD to show only files containing XFS_XFLAG_FILESTREAM
  
-<file>+<file diff>
 diff --git a/src/bstat.c b/src/bstat.c diff --git a/src/bstat.c b/src/bstat.c
 index 4e22ecd..887512f 100644 index 4e22ecd..887512f 100644
Line 782: Line 782:
  
 and then run it with mounted directory of each filesystem (bstat /; bstat /home etc). It will print "ino ..." information for filestream files. and then run it with mounted directory of each filesystem (bstat /; bstat /home etc). It will print "ino ..." information for filestream files.
 +
 +
 +How to clean up?
 +
 +rsync files to other partition, recreate problematic partition and then copy files back. 
  
 ===== Debian or Ubuntu guest installation ===== ===== Debian or Ubuntu guest installation =====
docs/vserver.1444048706.txt.gz · Last modified: 2015-10-05 14:38 by arekm

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki