[LU-836] Don't allow lustre mount with disabled ldiskfs journal Created: 11/Nov/11  Updated: 21/Nov/12  Resolved: 05/Apr/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.3.0

Type: Bug Priority: Minor
Reporter: Andriy Skulysh Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4668

 Comments   
Comment by Andriy Skulysh [ 11/Nov/11 ]

CODE: http://review.whamcloud.com/#change,1687

Comment by Andreas Dilger [ 11/Nov/11 ]

It would be good if this bug at least had some comment in it.

Presumably you are concerned with filesystems formatted as ext4 without "-j", or is there some other issue here?

Comment by Andriy Skulysh [ 12/Nov/11 ]

/dev/md1 was created with lustre_config as ost with journal device /dev/md9p2. then, using tune2fs -O ^has_journal /dev/md1 journaling was disabled. After this, mount -t lustre /dev/md1 /mnt/data1 produce stable kernel panic

stacktrace:

md1: detected capacity change from 0 to 42949672960
md1: unknown partition table
unknown partition table
md: minimum guaranteed speed: 1000 KB/sec/disk.
md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
md: using 128k window, over a total of 20971520 blocks.
LDISKFS-fs (md0): journal UUID does not match
LDISKFS-fs (md1): warning: mounting unchecked fs, running e2fsck is recommended
LustreError: 3650:0:(obd_mount.c:1345:server_kernel_mount()) premount /dev/md0:0x0 ldiskfs failed: -22 Is the ldiskfs module available?
LustreError: 3650:0:(obd_mount.c:1667:server_fill_super()) Unable to mount device /dev/md0: -22
LustreError: 3650:0:(obd_mount.c:2141:lustre_fill_super()) Unable to mount (-22)
LDISKFS-fs (md1): mounted filesystem without journal
LDISKFS-fs (md1): warning: mounting unchecked fs, running e2fsck is recommended
LDISKFS-fs (md1): mounted filesystem without journal
Lustre: 3708:0:(sec.c:1474:sptlrpc_import_sec_adapt()) import MGC192.168.0.2@o2ib->MGC192.168.0.2@o2ib_0 netid 50000: select flavor null
Lustre: MGC192.168.0.2@o2ib: Reactivating import
Lustre: 4032:0:(ldlm_lib.c:1893:target_recovery_init()) RECOVERY: service vostok-OST0003, 1 recoverable clients, last_transno 33
LustreError: 4037:0:(ldlm_lib.c:1730:target_recovery_thread()) vostok-OST0003: started recovery thread pid 4037
BUG: unable to handle kernel NULL pointer dereference at 0000000000000029

Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,client,el5,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
  • lustre/obdfilter/filter.c
  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,server,el6,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgs/mgs_fs.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,el6,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/tests/conf-sanity.sh
  • lustre/obdfilter/filter.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mgc/mgc_request.c
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,client,el6,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/tests/conf-sanity.sh
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
  • lustre/mgc/mgc_request.c
  • lustre/mgs/mgs_fs.c
  • lustre/lvfs/fsfilt_ext3.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,server,el5,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
  • lustre/obdfilter/filter.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mgc/mgc_request.c
  • lustre/tests/conf-sanity.sh
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,client,el6,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mds/handler.c
  • lustre/obdfilter/filter.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgs/mgs_fs.c
  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,server,el6,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/obdfilter/filter.c
  • lustre/tests/conf-sanity.sh
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/mgs/mgs_fs.c
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/mgs/mgs_fs.c
  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,client,el5,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mds/handler.c
  • lustre/tests/conf-sanity.sh
  • lustre/obdfilter/filter.c
  • lustre/mgs/mgs_fs.c
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » i686,server,el5,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgc/mgc_request.c
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,server,el6,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/obdfilter/filter.c
  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
  • lustre/tests/conf-sanity.sh
  • lustre/lvfs/fsfilt_ext3.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mds/handler.c
  • lustre/obdfilter/filter.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgs/mgs_fs.c
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,server,el5,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/tests/conf-sanity.sh
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/mgc/mgc_request.c
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgs/mgs_fs.c
  • lustre/tests/conf-sanity.sh
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/mgc/mgc_request.c
  • lustre/mds/handler.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mds/handler.c
  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/obdfilter/filter.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 29/Mar/12 ]

Integrated in lustre-master » x86_64,client,el5,ofa #531
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = FAILURE
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/mgs/mgs_fs.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
Comment by Andreas Dilger [ 05/Apr/12 ]

Patch landed for 2.3.

Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » x86_64,client,el5,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgc/mgc_request.c
  • lustre/mgs/mgs_fs.c
  • lustre/mds/handler.c
  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » i686,client,el6,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgs/mgs_fs.c
  • lustre/tests/conf-sanity.sh
  • lustre/obdfilter/filter.c
  • lustre/mgc/mgc_request.c
  • lustre/mds/handler.c
  • lustre/lvfs/fsfilt_ext3.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » i686,server,el5,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgs/mgs_fs.c
  • lustre/mds/handler.c
  • lustre/tests/conf-sanity.sh
  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » x86_64,server,el6,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/obdfilter/filter.c
  • lustre/mgs/mgs_fs.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » i686,client,el5,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/tests/conf-sanity.sh
  • lustre/mgs/mgs_fs.c
  • lustre/mds/handler.c
  • lustre/mgc/mgc_request.c
  • lustre/obdfilter/filter.c
  • lustre/lvfs/fsfilt_ext3.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » x86_64,server,el5,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgc/mgc_request.c
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/tests/conf-sanity.sh
  • lustre/mds/handler.c
  • lustre/mgs/mgs_fs.c
Comment by Build Master (Inactive) [ 02/May/12 ]

Integrated in lustre-dev » x86_64,client,el6,inkernel #340
LU-836 ldiskfs: require ldiskfs filesystem has journal (Revision 32a4e45e0e5ce912b7a03c703f42a70fe5781084)

Result = SUCCESS
Oleg Drokin : 32a4e45e0e5ce912b7a03c703f42a70fe5781084
Files :

  • lustre/mgs/mgs_fs.c
  • lustre/mgc/mgc_request.c
  • lustre/tests/conf-sanity.sh
  • lustre/lvfs/fsfilt_ext3.c
  • lustre/obdfilter/filter.c
  • lustre/mds/handler.c
Comment by Nathan Rutman [ 21/Nov/12 ]

Xyratex-bug-id: MRP-118

Generated at Sat Feb 10 01:10:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.