* [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
@ 2008-10-30 9:00 Олег
2008-10-30 9:05 ` oleg
0 siblings, 1 reply; 10+ messages in thread
From: Олег @ 2008-10-30 9:00 UTC (permalink / raw)
To: Sysadmins
Добрый день!
Менял диски на более емкие на файл-сервере. массив рейд5 из четырех дисков и 2 диска на рейд средствами линукс. Добавил в LVM 2 диска - 1Тб и 500Гб, чтобы перенести на них данные и потом, вставив новые диски, создать новый рейд и перенести на них.
Ошибка и часть ресурсов недоступна.
Помогите срочно, пожалуйста. Боюсь неправильными действиями усугубить.
Данных 1,2Тб. Сделал для диска 1Тб:
pvmove -i 10 /dev/sde:0-238465 /dev/sdd1
перенеслось все нормально - 100%.
pvmove -i 10 /dev/sde:238466-357539 /dev/sdс1
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
device-mapper: create ioctl failed: Device or resource busy
device-mapper: reload ioctl failed: Invalid argument
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
/dev/sde: Moved: 100.0%
device-mapper: create ioctl failed: Device or resource busy
Unable to reactivate logical volume "pvmove0"
Устройства:
ARRAY /dev/md0 level=raid1 - /boot type ext2
ARRAY /dev/md1 level=raid1 - / type ext3
/dev/mapper/vg1-lvm0 on /mnt/raid0 type ext3
/dev/mapper/vg5-lvm5 on /mnt/raid5 type ext3
теперь:
pvdisplay -m
PV Name /dev/sde
Total PE 357596
Free PE 357596
PV Name /dev/sdc1
Total PE 119234
Allocated PE 119074
cat/proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb3[0] sda3[1]
15358016 blocks [2/2] [UU]
md0 : active raid1 sdb1[0] sda1[1]
305088 blocks [2/2] [UU]
ошибки в логах(kernel/errors):
Oct 30 08:08:08 fs kernel: device-mapper: table: 253:0: linear: dm-linear: Device lookup failed
Oct 30 08:34:33 fs kernel: EXT3-fs error (device dm-0): ext3_xattr_block_get: inode 118032385: bad block 248790387
Oct 30 08:34:33 fs kernel: Aborting journal on device dm-0.
Oct 30 08:34:33 fs kernel: EXT3-fs error (device dm-0): ext3_xattr_block_get: inode 118032385: bad block 248790387
Oct 30 08:34:36 fs last message repeated 41 times
Oct 30 09:01:21 fs kernel: EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory #130285584: rec_len is smaller than minimal - offset=0,
inode=0, rec_len=0, name_len=0
Oct 30 09:01:21 fs last message repeated 4 times
Oct 30 09:01:21 fs kernel: EXT3-fs error (device dm-0): ext3_xattr_block_get: inode 97812482: bad block 252969479
Oct 30 09:01:21 fs last message repeated 2 times
Oct 30 09:01:34 fs kernel: EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory #130285584: rec_len is smaller than minimal - offset=0,
inode=0, rec_len=0, name_len=0
Oct 30 09:01:34 fs last message repeated 23 times
Oct 30 09:04:54 fs kernel: EXT3-fs error (device dm-0): htree_dirblock_to_tree: bad entry in directory #130285584: rec_len is smaller than minimal - offset=0,
inode=0, rec_len=0, name_len=0...
kernel/warnings:
Oct 30 08:08:08 fs kernel: device-mapper: ioctl: error adding target to table
Oct 30 11:19:38 fs kernel:
Oct 30 11:19:38 fs kernel: Call Trace:
Oct 30 11:19:38 fs kernel: [<ffffffff80266337>] show_trace+0x34/0x47
Oct 30 11:19:38 fs kernel: [<ffffffff8026635c>] dump_stack+0x12/0x17
Oct 30 11:19:38 fs kernel: [<ffffffff802a8ff0>] softlockup_tick+0xdb/0xed
Oct 30 11:19:38 fs kernel: [<ffffffff8028a7e0>] update_process_times+0x42/0x68
Oct 30 11:19:38 fs kernel: [<ffffffff80270019>] smp_local_timer_interrupt+0x23/0x47
Oct 30 11:19:38 fs kernel: [<ffffffff802706fc>] smp_apic_timer_interrupt+0x41/0x47
Oct 30 11:19:38 fs kernel: [<ffffffff80259f4a>] apic_timer_interrupt+0x66/0x6c
Oct 30 11:19:38 fs kernel: DWARF2 unwinder stuck at apic_timer_interrupt+0x66/0x6c
Oct 30 11:19:38 fs kernel: Leftover inexact backtrace:
Oct 30 11:19:38 fs kernel: <IRQ> <EOI> [<ffffffff8810ed76>] :ext3:ext3_find_entry+0x19d/0x58a
Oct 30 11:19:38 fs kernel: [<ffffffff8810ed4f>] :ext3:ext3_find_entry+0x176/0x58a
Oct 30 11:19:38 fs kernel: [<ffffffff880ec0a2>] :mbcache:__mb_cache_entry_forget+0x5d/0x65
Oct 30 11:19:38 fs kernel: [<ffffffff80220aae>] __up_read+0x13/0x8a
Oct 30 11:19:38 fs kernel: [<ffffffff88117778>] :ext3:ext3_xattr_get+0x21e/0x22f
Oct 30 11:19:38 fs kernel: [<ffffffff881107fd>] :ext3:ext3_lookup+0x31/0xf3
Oct 30 11:19:38 fs kernel: [<ffffffff8020c4d2>] do_lookup+0xc4/0x173
Oct 30 11:19:38 fs kernel: [<ffffffff80209c7d>] __link_path_walk+0x9f0/0xf31
Oct 30 11:19:38 fs kernel: [<ffffffff8020de33>] link_path_walk+0x5c/0xe5
Oct 30 11:19:38 fs kernel: [<ffffffff8020c28e>] do_path_lookup+0x270/0x2ec
Oct 30 11:19:38 fs kernel: [<ffffffff80210bdc>] getname+0x15b/0x1c1
Oct 30 11:19:38 fs kernel: [<ffffffff8022229a>] __user_walk_fd+0x37/0x4c
Oct 30 11:19:38 fs kernel: [<ffffffff80227042>] vfs_stat_fd+0x1b/0x4a
Oct 30 11:19:38 fs kernel: [<ffffffff80221fa8>] sys_newstat+0x19/0x31
Oct 30 11:19:38 fs kernel: [<ffffffff802593d6>] system_call+0x7e/0x83
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 9:00 [Sysadmins] ошибка при переносе LVM Срочно нужна помощь Олег
@ 2008-10-30 9:05 ` oleg
2008-10-30 9:45 ` Владимир
0 siblings, 1 reply; 10+ messages in thread
From: oleg @ 2008-10-30 9:05 UTC (permalink / raw)
To: Олег, ALT Linux sysadmin discuss
Забыл написать систему((
Altlinux server 4.0
2.6.18-std-smp-alt12.M40.3
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 9:05 ` oleg
@ 2008-10-30 9:45 ` Владимир
2008-10-30 15:20 ` oleg
2008-10-30 15:52 ` oleg
0 siblings, 2 replies; 10+ messages in thread
From: Владимир @ 2008-10-30 9:45 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
oleg пишет:
> Забыл написать систему((
> Altlinux server 4.0
> 2.6.18-std-smp-alt12.M40.3
Ничего не понятно. Откуда и куда переносится (планируется к переносу).
Для начала, можно вывод pvdisplay с комментариями - старые, новые
и lvdisplay vgdisplay дополнительно .
--
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 9:45 ` Владимир
@ 2008-10-30 15:20 ` oleg
2008-10-31 7:57 ` Владимир
2008-10-30 15:52 ` oleg
1 sibling, 1 reply; 10+ messages in thread
From: oleg @ 2008-10-30 15:20 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 2462 bytes --]
Здравствуйте, Владимир
Ответ на Ваше письмо от 30.10.2008 12:45
> oleg пишет:
>> Забыл написать систему((
>> Altlinux server 4.0
>> 2.6.18-std-smp-alt12.M40.3
>
> Ничего не понятно. Откуда и куда переносится (планируется к переносу).
>
> Для начала, можно вывод pvdisplay с комментариями - старые, новые
> и lvdisplay vgdisplay дополнительно .
>
>
Диски:
/dev/sde - (raid5 -1,4Tб) занято 1,2Тб (vg5)
/dev/sdс1 - новый диск на 500Гб
/dev/sdd1 - новый диск на 1Тб
еще диски системные, на рейде1 средствами ОС и LVM -vg1, но это, думаю
неважно
Задача:
Заменить диски в массиве на более емкие.
Сделал:
Подключил новые диски (на 1Тб и 500Гб) Определились, как dev/sdс и
/dev/sdd Внес их в массив vg5 (pvcreate, vgextend)
потом pvchange -xn /dev/sde, чтобы на него больше не писалось.
дальше pvmove -i 10 /dev/sde:0-238465 /dev/sdd1, чтобы перенести часть
данных на этот диск.
Все нормально перенеслось, 100%, все работает
дальше pvmove -i 10 /dev/sde:238466-357539 /dev/sdс1, чтобы перенести
оставшиеся данные.
Вот здесь он и выдал:
device-mapper: create ioctl failed: Device or resource busy
device-mapper: reload ioctl failed: Invalid argument
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sde) called while suspended
WARNING: dev_open(/dev/sdc1) called while suspended
WARNING: dev_open(/dev/sdd1) called while suspended
/dev/sde: Moved: 100.0%
device-mapper: create ioctl failed: Device or resource busy
Unable to reactivate logical volume "pvmove0"
То есть, как я понял, он в lvm пометил, что экстенты перенесены, а фс нет.
Через несколько часов сервер завис, пришлось перезапустить. Отключил
самбу. Восстанавливаю из бекапов срочные данные.
Вложения - выводы pvdisplay, vgdisplay, lvdisplay
С уважением,
Олег
[-- Attachment #2: lvdisplay.txt --]
[-- Type: text/plain, Size: 971 bytes --]
lvdisplay
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
--- Logical volume ---
LV Name /dev/vg5/lvm5
VG Name vg5
LV UUID kmcrjd-V2WN-bceQ-2Uxm-bkpe-ZR2r-Nlctpw
LV Write Access read/write
LV Status available
# open 1
LV Size 1.36 TB
Current LE 357540
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/vg1/lvm0
VG Name vg1
LV UUID oJi8K9-XP1E-tNZY-CVtg-NEqw-jtqc-GiYosC
LV Write Access read/write
LV Status available
# open 1
LV Size 1.33 TB
Current LE 349538
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:1
[-- Attachment #3: pvdisplay.txt --]
[-- Type: text/plain, Size: 1884 bytes --]
pvdisplay
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
--- Physical volume ---
PV Name /dev/sde
VG Name vg5
PV Size 1.36 TB / not usable 3.00 MB
Allocatable NO
PE Size (KByte) 4096
Total PE 357596
Free PE 357596
Allocated PE 0
PV UUID 0WxIV6-TGYr-B5kX-8PDb-OgMq-Clse-uAG9cn
--- Physical volume ---
PV Name /dev/sdc1
VG Name vg5
PV Size 465.76 GB / not usable 1.50 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 119234
Free PE 160
Allocated PE 119074
PV UUID iIQzel-1ASC-WXV2-cKwP-G6Qr-6W7t-5MRGIi
--- Physical volume ---
PV Name /dev/sdd1
VG Name vg5
PV Size 931.51 GB / not usable 3.19 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 238466
Free PE 0
Allocated PE 238466
PV UUID 04G46u-HmlF-KznA-9Kf1-s1yl-yncc-CPE5IY
--- Physical volume ---
PV Name /dev/sda5
VG Name vg1
PV Size 682.69 GB / not usable 2.48 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 174769
Free PE 0
Allocated PE 174769
PV UUID eGsjGa-pRJ2-iREg-o4wn-T1Uk-kzHf-TpQwjL
--- Physical volume ---
PV Name /dev/sdb5
VG Name vg1
PV Size 682.69 GB / not usable 2.48 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 174769
Free PE 0
Allocated PE 174769
PV UUID xDeQsE-ikSk-Mlsf-KTcb-eCI9-OLF0-3sd4yi
[-- Attachment #4: vgdisplay.txt --]
[-- Type: text/plain, Size: 1303 bytes --]
vgdisplay
File descriptor 3 left open
File descriptor 5 left open
File descriptor 7 left open
--- Volume group ---
VG Name vg5
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 23
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 3
Act PV 3
VG Size 2.73 TB
PE Size 4.00 MB
Total PE 715296
Alloc PE / Size 357540 / 1.36 TB
Free PE / Size 357756 / 1.36 TB
VG UUID WulI25-GHWt-CMKM-mVmk-fpGR-L16d-K6hSer
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 1.33 TB
PE Size 4.00 MB
Total PE 349538
Alloc PE / Size 349538 / 1.33 TB
Free PE / Size 0 / 0
VG UUID 41ua2U-CZVw-8cxc-BSE9-durf-lTQy-Ha3ezk
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 15:20 ` oleg
@ 2008-10-31 7:57 ` Владимир
2008-10-31 9:45 ` oleg
0 siblings, 1 reply; 10+ messages in thread
From: Владимир @ 2008-10-31 7:57 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
oleg пишет:
> Здравствуйте, Владимир
> Ответ на Ваше письмо от 30.10.2008 12:45
>> oleg пишет:
>>> Забыл написать систему((
>>> Altlinux server 4.0
>>> 2.6.18-std-smp-alt12.M40.3
>>
>> Ничего не понятно. Откуда и куда переносится (планируется к переносу).
>>
>> Для начала, можно вывод pvdisplay с комментариями - старые, новые
>> и lvdisplay vgdisplay дополнительно .
>>
>>
> Диски:
> /dev/sde - (raid5 -1,4Tб) занято 1,2Тб (vg5)
> /dev/sdс1 - новый диск на 500Гб
> /dev/sdd1 - новый диск на 1Тб
> еще диски системные, на рейде1 средствами ОС и LVM -vg1, но это, думаю
> неважно
> Задача:
> Заменить диски в массиве на более емкие.
>
> Сделал:
> Подключил новые диски (на 1Тб и 500Гб) Определились, как dev/sdс и
> /dev/sdd Внес их в массив vg5 (pvcreate, vgextend)
> потом pvchange -xn /dev/sde, чтобы на него больше не писалось.
> дальше pvmove -i 10 /dev/sde:0-238465 /dev/sdd1, чтобы перенести часть
> данных на этот диск.
> Все нормально перенеслось, 100%, все работает
> дальше pvmove -i 10 /dev/sde:238466-357539 /dev/sdс1, чтобы перенести
> оставшиеся данные.
> Вот здесь он и выдал:
>
> device-mapper: create ioctl failed: Device or resource busy
> device-mapper: reload ioctl failed: Invalid argument
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sdc1) called while suspended
> WARNING: dev_open(/dev/sdd1) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sdc1) called while suspended
> WARNING: dev_open(/dev/sdd1) called while suspended
> WARNING: dev_open(/dev/sdc1) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sdd1) called while suspended
> WARNING: dev_open(/dev/sdd1) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sdc1) called while suspended
> WARNING: dev_open(/dev/sde) called while suspended
> WARNING: dev_open(/dev/sdc1) called while suspended
> WARNING: dev_open(/dev/sdd1) called while suspended
> /dev/sde: Moved: 100.0%
> device-mapper: create ioctl failed: Device or resource busy
> Unable to reactivate logical volume "pvmove0"
>
> То есть, как я понял, он в lvm пометил, что экстенты перенесены, а фс
> нет.
Странно это. ФС на LVM "теоретически прозрачно", где она расположена
"физически".
Есть еще одна мысль, но с этим пока дел никогда не имел.
В /etc/fstab монтирование привязано к UUID или к /dev/mapper/XXX?
Я к тому, что у меня всегда было /dev/mapper/XXX, а если используется UUID,
то не поменялся ли он после переноса?
--
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-31 7:57 ` Владимир
@ 2008-10-31 9:45 ` oleg
2008-10-31 10:59 ` Владимир
0 siblings, 1 reply; 10+ messages in thread
From: oleg @ 2008-10-31 9:45 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Здравствуйте, Владимир
Ответ на Ваше письмо от 31.10.2008 10:57
>
> Странно это. ФС на LVM "теоретически прозрачно", где она расположена
> "физически".
> Есть еще одна мысль, но с этим пока дел никогда не имел.
> В /etc/fstab монтирование привязано к UUID или к /dev/mapper/XXX?
>
> Я к тому, что у меня всегда было /dev/mapper/XXX, а если используется
> UUID,
> то не поменялся ли он после переноса?
>
>
Спасибо.
Может кому-нибудь поможет.
После этой ошибки 2 раза LVM удачно востановил свои экстенты с помошью:
vgcfgrestore --list - вывод всех бекапов конфигурации LVM
vgcfgrestore -f путь_к_файлу_до_выполнения_команды имя_vg
Второй раз был такой же сбой. 1 иск перенесся нормально, потом vgreduce
1диска. При попытке pvmove 2 диска ошибка. После перезагрузки все
переносится. То есть, после удаления из vg нужно перезагружать машину.
Не понял причины, вроде ничего в документации. После суток такой
напряженки думать тяжело))
"В /etc/fstab монтирование привязано к UUID или к /dev/mapper/XXX? "
Да, в fstab UUID, а mount - /dev/mapper/XXX
.....
С уважением,
Олег
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-31 9:45 ` oleg
@ 2008-10-31 10:59 ` Владимир
0 siblings, 0 replies; 10+ messages in thread
From: Владимир @ 2008-10-31 10:59 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
oleg пишет:
> Здравствуйте, Владимир
> Ответ на Ваше письмо от 31.10.2008 10:57
>>
>> Странно это. ФС на LVM "теоретически прозрачно", где она расположена
>> "физически".
>> Есть еще одна мысль, но с этим пока дел никогда не имел.
>> В /etc/fstab монтирование привязано к UUID или к /dev/mapper/XXX?
>>
>> Я к тому, что у меня всегда было /dev/mapper/XXX, а если используется
>> UUID,
>> то не поменялся ли он после переноса?
>>
>>
> Спасибо.
> Может кому-нибудь поможет.
> После этой ошибки 2 раза LVM удачно востановил свои экстенты с помошью:
> vgcfgrestore --list - вывод всех бекапов конфигурации LVM
> vgcfgrestore -f путь_к_файлу_до_выполнения_команды имя_vg
> Второй раз был такой же сбой. 1 иск перенесся нормально, потом
> vgreduce 1диска. При попытке pvmove 2 диска ошибка. После перезагрузки
> все переносится. То есть, после удаления из vg нужно перезагружать
> машину. Не понял причины, вроде ничего в документации. После суток
> такой напряженки думать тяжело))
>
> "В /etc/fstab монтирование привязано к UUID или к /dev/mapper/XXX? "
>
> Да, в fstab UUID, а mount - /dev/mapper/XXX
> .....
Судя по приведенному ранее выводу команд xxdisplay ничего
разрушительного небыло.
А вот привязка логического тома к UUID в fstab может и была источником
проблемы
при переносе файловой системы на дополнительные диски.
При случае попробую воспроизвести.
--
Vladimir Kholmanov
fmfm@mmascience.ru
fmfm@mma.ru
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 9:45 ` Владимир
2008-10-30 15:20 ` oleg
@ 2008-10-30 15:52 ` oleg
2008-10-30 16:06 ` Sergey Vlasov
1 sibling, 1 reply; 10+ messages in thread
From: oleg @ 2008-10-30 15:52 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Здравствуйте, Владимир
Ответ на Ваше письмо от 30.10.2008 12:45
> oleg пишет:
>> Забыл написать систему((
>> Altlinux server 4.0
>> 2.6.18-std-smp-alt12.M40.3
>
> Ничего не понятно. Откуда и куда переносится (планируется к переносу).
>
> Для начала, можно вывод pvdisplay с комментариями - старые, новые
> и lvdisplay vgdisplay дополнительно .
>
>
И еще, в /etc/lvm/backup LVM создал файл Oct с датой 30 08:08(именно
тот момент, когда случился сбой)
и /etc/lvm/archive, где бекапы за вчера.
Как их восстановить?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 15:52 ` oleg
@ 2008-10-30 16:06 ` Sergey Vlasov
2008-10-30 16:44 ` oleg
0 siblings, 1 reply; 10+ messages in thread
From: Sergey Vlasov @ 2008-10-30 16:06 UTC (permalink / raw)
To: sysadmins
On Thu, 30 Oct 2008 18:52:22 +0300 oleg wrote:
> Здравствуйте, Владимир
> Ответ на Ваше письмо от 30.10.2008 12:45
> > oleg пишет:
> >> Забыл написать систему((
> >> Altlinux server 4.0
> >> 2.6.18-std-smp-alt12.M40.3
> >
> > Ничего не понятно. Откуда и куда переносится (планируется к переносу).
> >
> > Для начала, можно вывод pvdisplay с комментариями - старые, новые
> > и lvdisplay vgdisplay дополнительно .
> >
> >
> И еще, в /etc/lvm/backup LVM создал файл Oct с датой 30 08:08(именно
> тот момент, когда случился сбой)
> и /etc/lvm/archive, где бекапы за вчера.
> Как их восстановить?
Вообще vgcfgrestore -f $file $vgname, но делать этого пока не
приходилось; предварительно стоит посмотреть на содержимое файла
(он там текстовый - можно хотя бы убедиться, что используются
нужные устройства).
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Sysadmins] ошибка при переносе LVM Срочно нужна помощь
2008-10-30 16:06 ` Sergey Vlasov
@ 2008-10-30 16:44 ` oleg
0 siblings, 0 replies; 10+ messages in thread
From: oleg @ 2008-10-30 16:44 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Здравствуйте, Sergey Vlasov
Ответ на Ваше письмо от 30.10.2008 19:06
> On Thu, 30 Oct 2008 18:52:22 +0300 oleg wrote:
>
>
>> Здравствуйте, Владимир
>> Ответ на Ваше письмо от 30.10.2008 12:45
>>
>>> oleg пишет:
>>>
>>>> Забыл написать систему((
>>>> Altlinux server 4.0
>>>> 2.6.18-std-smp-alt12.M40.3
>>>>
>>> Ничего не понятно. Откуда и куда переносится (планируется к переносу).
>>>
>>> Для начала, можно вывод pvdisplay с комментариями - старые, новые
>>> и lvdisplay vgdisplay дополнительно .
>>>
>>>
>>>
>> И еще, в /etc/lvm/backup LVM создал файл Oct с датой 30 08:08(именно
>> тот момент, когда случился сбой)
>> и /etc/lvm/archive, где бекапы за вчера.
>> Как их восстановить?
>>
>
> Вообще vgcfgrestore -f $file $vgname, но делать этого пока не
> приходилось; предварительно стоит посмотреть на содержимое файла
> (он там текстовый - можно хотя бы убедиться, что используются
> нужные устройства).
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>
Вот насчет этого и хотел выяснить в моей ситуации, как бы не испортить
те данные, которые нормально перенеслись
С уважением,
Олег
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-10-31 10:59 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 9:00 [Sysadmins] ошибка при переносе LVM Срочно нужна помощь Олег
2008-10-30 9:05 ` oleg
2008-10-30 9:45 ` Владимир
2008-10-30 15:20 ` oleg
2008-10-31 7:57 ` Владимир
2008-10-31 9:45 ` oleg
2008-10-31 10:59 ` Владимир
2008-10-30 15:52 ` oleg
2008-10-30 16:06 ` Sergey Vlasov
2008-10-30 16:44 ` oleg
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git