All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pvmove and filesystem - un/mount?
@ 2016-07-07 16:01 lejeczek
  2016-07-07 18:10 ` Jarkko Oranen
  0 siblings, 1 reply; 4+ messages in thread
From: lejeczek @ 2016-07-07 16:01 UTC (permalink / raw)
  To: Linux lvm

hi users,

must be an easy one - what should be(is allowed to do) 
filesystem doing while there is a pvmove(failed hard disk) 
taking place in underlying LV?

many thanks,

L

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

* Re: [linux-lvm] pvmove and filesystem - un/mount?
  2016-07-07 16:01 [linux-lvm] pvmove and filesystem - un/mount? lejeczek
@ 2016-07-07 18:10 ` Jarkko Oranen
  2016-07-08  9:03   ` lejeczek
  0 siblings, 1 reply; 4+ messages in thread
From: Jarkko Oranen @ 2016-07-07 18:10 UTC (permalink / raw)
  To: linux-lvm



On 07/07/16 19:01, lejeczek wrote:
> hi users,
>
> must be an easy one - what should be(is allowed to do) filesystem 
> doing while there is a pvmove(failed hard disk) taking place in 
> underlying LV?
>
> many thanks,

Hi,

pvmove is generally transparent to the layers above, so you can continue 
using the system as usual while a pvmove is in progress. While I have 
never seen pvmove actually fail (My desktop encountered a power failure 
mid-operation once, and it just continued as if nothing had happened 
after rebooting), with a failing hard disk, I would avoid any additional 
IO while the operation is in progress.



--
Jarkko

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

* Re: [linux-lvm] pvmove and filesystem - un/mount?
  2016-07-07 18:10 ` Jarkko Oranen
@ 2016-07-08  9:03   ` lejeczek
  2016-07-11 12:35     ` Marian Csontos
  0 siblings, 1 reply; 4+ messages in thread
From: lejeczek @ 2016-07-08  9:03 UTC (permalink / raw)
  To: linux-lvm



On 07/07/16 19:10, Jarkko Oranen wrote:
>
>
> On 07/07/16 19:01, lejeczek wrote:
>> hi users,
>>
>> must be an easy one - what should be(is allowed to do) 
>> filesystem doing while there is a pvmove(failed hard 
>> disk) taking place in underlying LV?
>>
>> many thanks,
>
> Hi,
>
> pvmove is generally transparent to the layers above, so 
> you can continue using the system as usual while a pvmove 
> is in progress. While I have never seen pvmove actually 
> fail (My desktop encountered a power failure mid-operation 
> once, and it just continued as if nothing had happened 
> after rebooting), with a failing hard disk, I would avoid 
> any additional IO while the operation is in progress.
>
>
ok, thanks
maybe a bit more tricky, would now downsizing a FS be one 
thing OK to do(probably also fsck) ? while pvmove is working?
furthermore, would lvreduce be OK to take pvmote out of a LV ?

I have a bit of puzzle type of situation here to deal with - 
started pvmove but seems that HDD is rather in a bad 
condition for after two days pvmove is barely at 4%.
Should I let it finish - or - abort pvmove and try fsck; 
fsreduce; lvreduce..
hmmm..

>
> -- 
> Jarkko
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: [linux-lvm] pvmove and filesystem - un/mount?
  2016-07-08  9:03   ` lejeczek
@ 2016-07-11 12:35     ` Marian Csontos
  0 siblings, 0 replies; 4+ messages in thread
From: Marian Csontos @ 2016-07-11 12:35 UTC (permalink / raw)
  To: LVM general discussion and development

On 07/08/2016 11:03 AM, lejeczek wrote:
>
>
> On 07/07/16 19:10, Jarkko Oranen wrote:
>>
>>
>> On 07/07/16 19:01, lejeczek wrote:
>>> hi users,
>>>
>>> must be an easy one - what should be(is allowed to do) filesystem
>>> doing while there is a pvmove(failed hard disk) taking place in
>>> underlying LV?
>>>
>>> many thanks,
>>
>> Hi,
>>
>> pvmove is generally transparent to the layers above, so you can
>> continue using the system as usual while a pvmove is in progress.
>> While I have never seen pvmove actually fail (My desktop encountered a
>> power failure mid-operation once, and it just continued as if nothing
>> had happened after rebooting), with a failing hard disk, I would avoid
>> any additional IO while the operation is in progress.
>>
>>
> ok, thanks
> maybe a bit more tricky, would now downsizing a FS be one thing OK to
> do(probably also fsck) ? while pvmove is working?
> furthermore, would lvreduce be OK to take pvmote out of a LV ?
>
> I have a bit of puzzle type of situation here to deal with - started
> pvmove but seems that HDD is rather in a bad condition for after two
> days pvmove is barely at 4%.
> Should I let it finish - or - abort pvmove and try fsck; fsreduce;
> lvreduce..
> hmmm..

Use ddrescue. pvmove is not intended for data rescuing from failing disks.

ddrescue is using different strategy to quickly read whatever it can, 
quickly skipping over any failing regions, attempting to recover those 
on later iterations.

-- Martian



>
>>
>> --
>> Jarkko
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

end of thread, other threads:[~2016-07-11 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07 16:01 [linux-lvm] pvmove and filesystem - un/mount? lejeczek
2016-07-07 18:10 ` Jarkko Oranen
2016-07-08  9:03   ` lejeczek
2016-07-11 12:35     ` Marian Csontos

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.