All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] RE: Error on unmounting XFS LVM snapshot
@ 2003-10-20 12:11 Murthy Kambhampaty
  2003-10-29 17:53 ` [linux-lvm] " Ronny Adsetts
  0 siblings, 1 reply; 4+ messages in thread
From: Murthy Kambhampaty @ 2003-10-20 12:11 UTC (permalink / raw)
  To: 'Ronny Adsetts', linux-xfs, linux-lvm

I got these error messages on the Wolk 4.9s kernel, but not on XFS CVS
kernels (or vanilla linux with XFS patches applied). This is a somewhat
random guess, but you might try to upgrade LVM to 1.0.7, following the LVM
how-to, and see if the problem persists.



>-----Original Message-----
>From: Ronny Adsetts [mailto:ronny.adsetts@amazinginternet.com]
>Sent: Friday, October 17, 2003 12:39
>To: linux-xfs@oss.sgi.com; linux-lvm@sistina.com
>Subject: Error on unmounting XFS LVM snapshot
>
>
>Hi,
>
>Please Cc me on any replies.
>
>I am seeing an error logged when unmounting an LVM snapshot of an XFS 
>partition. Google doesn't give me much.
>
>I have reproduced this error on a different system using a totally 
>different disk sub-system (Mylex eXtremeRAID 3000) - the system below 
>has an Adaptec 2400A.
>
>Details are:
>
>System is XFS on top of LVM on top of hardware RAID.
>
>Software used:
>Debian: 3.0 (Mostly)
>Kernel: 2.4.21
>Kernel patches: Debian standard kernel patches; XFS 1.3.0
>LVM utils: 1.0.4-4 (Debian)
>XFS utils: 2.5.6-1 (Debian)
>
>Sequence of actions:
>1: xfs_freeze -f /home
>2: lvcreate -L 1G -s -n home_lv_bak /dev/vg0/home_lv
>3: xfs_freeze -u /home
>4: mount -t xfs -onouuid,ro,usrquota /dev/vg0/home_lv_bak /mnt/home
>5: umount /mnt/home
>6: lvremove -f /dev/vg0/home_lv_bak
>
>On step 5 of above, an error is logged:
>
>Logs:
>Oct 17 17:23:44 jettero kernel: lvm - lvm_map: ll_rw_blk write for 
>readonly LV /dev/vg0/home_lv_bak
>Oct 17 17:23:44 jettero kernel: xfs_force_shutdown(lvm(58,10),0x1) 
>called from line 351 of file xfs_rw.c.  Return address = 0xc01fd6aa
>Oct 17 17:23:44 jettero kernel: Filesystem "lvm(58,10)": I/O Error 
>Detected.  Shutting down filesystem: lvm(58,10)
>Oct 17 17:23:44 jettero kernel: Please umount the filesystem, and 
>rectify the problem(s)
>
>There is no oops and machine seems stable enough, though it's 
>only been 
>running a couple of days since I first did this.
>
>Is this anything to worry about? Is this a known problem? Are 
>there any 
>patches to fix it?
>
>Thanks and regards,
>Ronny Adsetts
>-- 
>Technical Director
>Amazing Internet Ltd, London
>t: +44 20 8607 9535
>f: +44 20 8607 9536
>w: www.amazinginternet.com
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] Re: Error on unmounting XFS LVM snapshot
  2003-10-20 12:11 [linux-lvm] RE: Error on unmounting XFS LVM snapshot Murthy Kambhampaty
@ 2003-10-29 17:53 ` Ronny Adsetts
  2003-10-29 19:00   ` Greg Freemyer
  0 siblings, 1 reply; 4+ messages in thread
From: Ronny Adsetts @ 2003-10-29 17:53 UTC (permalink / raw)
  To: Murthy Kambhampaty; +Cc: linux-xfs, linux-lvm

Murthy Kambhampaty said the following on 20/10/03 18:10:
 >>-----Original Message-----
 >>From: Ronny Adsetts [mailto:ronny.adsetts@amazinginternet.com]
 >>Sent: Friday, October 17, 2003 12:39
 >>
 >>Software used:
 >>Debian: 3.0 (Mostly)
 >>Kernel: 2.4.21
 >>Kernel patches: Debian standard kernel patches; XFS 1.3.0
 >>LVM utils: 1.0.4-4 (Debian)
 >>XFS utils: 2.5.6-1 (Debian)
 >>
 >>Sequence of actions:
 >>1: xfs_freeze -f /home
 >>2: lvcreate -L 1G -s -n home_lv_bak /dev/vg0/home_lv
 >>3: xfs_freeze -u /home
 >>4: mount -t xfs -onouuid,ro,usrquota /dev/vg0/home_lv_bak /mnt/home
 >>5: umount /mnt/home
 >>6: lvremove -f /dev/vg0/home_lv_bak
 >>
 >>On step 5 of above, an error is logged:
 >>
 >>Logs:
 >>Oct 17 17:23:44 jettero kernel: lvm - lvm_map: ll_rw_blk write for
 >>readonly LV /dev/vg0/home_lv_bak
 >>Oct 17 17:23:44 jettero kernel: xfs_force_shutdown(lvm(58,10),0x1)
 >>called from line 351 of file xfs_rw.c.  Return address = 0xc01fd6aa
 >>Oct 17 17:23:44 jettero kernel: Filesystem "lvm(58,10)": I/O Error
 >>Detected.  Shutting down filesystem: lvm(58,10)
 >>Oct 17 17:23:44 jettero kernel: Please umount the filesystem, and
 >>rectify the problem(s)
 >
> I got these error messages on the Wolk 4.9s kernel, but not on XFS CVS
> kernels (or vanilla linux with XFS patches applied). This is a somewhat
> random guess, but you might try to upgrade LVM to 1.0.7, following the LVM
> how-to, and see if the problem persists.
> 

I've built a later version of LVM 1 tools, but not had a chance to try 
them yet (probably won't bother now).

I did see this this today which appears to be the same issue:

http://www.kerneltraffic.org/kernel-traffic/kt20031027_238.html#4

 From Marcelo Tosatti[1]: "It seems its not safe to create snapshots of 
journalled fs'es without this patch[2]."

Looks like the patch will show up in mainline in the 2.4.24-pre series.

[1] http://marc.theaimsgroup.com/?l=linux-kernel&m=106642797513724&w=2
[2] http://marc.theaimsgroup.com/?l=linux-kernel&m=106623350522639&q=p3

Regards,
Ronny
-- 
Technical Director
Amazing Internet Ltd, London
t: +44 20 8607 9535
f: +44 20 8607 9536
w: www.amazinginternet.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Re: Error on unmounting XFS LVM snapshot
  2003-10-29 17:53 ` [linux-lvm] " Ronny Adsetts
@ 2003-10-29 19:00   ` Greg Freemyer
  2003-10-30  8:00     ` Ronny Adsetts
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Freemyer @ 2003-10-29 19:00 UTC (permalink / raw)
  To: linux-lvm

> I did see this this today which appears to be the same issue:
> 
> http://www.kerneltraffic.org/kernel-traffic/kt20031027_238.html#4
> 
>  From Marcelo Tosatti[1]: "It seems its not safe to create snapshots of 
> journalled fs'es without this patch[2]."
> 
> Looks like the patch will show up in mainline in the 2.4.24-pre series.
> 
> [1] http://marc.theaimsgroup.com/?l=linux-kernel&m=106642797513724&w=2
> [2] http://marc.theaimsgroup.com/?l=linux-kernel&m=106623350522639&q=p3
> 
> Regards,
> Ronny

Is the above talking about the VFS_LOCK patch, or is there another patch
that should be applied?

Greg
-- 
Greg Freemyer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] Re: Error on unmounting XFS LVM snapshot
  2003-10-29 19:00   ` Greg Freemyer
@ 2003-10-30  8:00     ` Ronny Adsetts
  0 siblings, 0 replies; 4+ messages in thread
From: Ronny Adsetts @ 2003-10-30  8:00 UTC (permalink / raw)
  To: linux-lvm

Greg Freemyer said the following on 30/10/03 00:50:

>>I did see this this today which appears to be the same issue:
>>
>>http://www.kerneltraffic.org/kernel-traffic/kt20031027_238.html#4
>>
>> From Marcelo Tosatti[1]: "It seems its not safe to create snapshots of 
>>journalled fs'es without this patch[2]."
>>
>>Looks like the patch will show up in mainline in the 2.4.24-pre series.
>>
>>[1] http://marc.theaimsgroup.com/?l=linux-kernel&m=106642797513724&w=2
>>[2] http://marc.theaimsgroup.com/?l=linux-kernel&m=106623350522639&q=p3
>>
> 
> Is the above talking about the VFS_LOCK patch, or is there another patch
> that should be applied?

It appears to be the VFS lock patch, but I'm no kernel guru...

Regards,
Ronny

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-30  8:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-20 12:11 [linux-lvm] RE: Error on unmounting XFS LVM snapshot Murthy Kambhampaty
2003-10-29 17:53 ` [linux-lvm] " Ronny Adsetts
2003-10-29 19:00   ` Greg Freemyer
2003-10-30  8:00     ` Ronny Adsetts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.