* [Sysadmins] lvm2 in t6 @ 2013-11-25 12:12 Alexander Volkov 2013-11-25 13:19 ` Alexander Volkov 0 siblings, 1 reply; 8+ messages in thread From: Alexander Volkov @ 2013-11-25 12:12 UTC (permalink / raw) To: sysadmins Hi! Коллеги, а под t6/p6 lvm2 свежее 2.02.87 никто не собирал? Появилась нужда сделать lvconvert --type raid1, а сборочниц живых не осталось, hasher c наскоку тоже не помог( -- Regards, Alexander ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-25 12:12 [Sysadmins] lvm2 in t6 Alexander Volkov @ 2013-11-25 13:19 ` Alexander Volkov 2013-11-26 9:27 ` Michael Shigorin 0 siblings, 1 reply; 8+ messages in thread From: Alexander Volkov @ 2013-11-25 13:19 UTC (permalink / raw) To: sysadmins On 2013-11-25 16:12:44 +0400, Alexander Volkov wrote: AV> Hi! AV> Коллеги, а под t6/p6 lvm2 свежее 2.02.87 никто не собирал? AV> Появилась нужда сделать lvconvert --type raid1, AV> а сборочниц живых не осталось, hasher c наскоку тоже не помог( О, даже точнее: LVM 2.02.98 or above is required for this to work properly. Prior versions are either not capable or will segfault and corrupt the VG -- Regards, Alexander ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-25 13:19 ` Alexander Volkov @ 2013-11-26 9:27 ` Michael Shigorin 2013-11-26 12:04 ` Alexander Volkov 0 siblings, 1 reply; 8+ messages in thread From: Michael Shigorin @ 2013-11-26 9:27 UTC (permalink / raw) To: sysadmins On Mon, Nov 25, 2013 at 05:19:16PM +0400, Alexander Volkov wrote: > AV> Коллеги, а под t6/p6 lvm2 свежее 2.02.87 никто не собирал? > AV> Появилась нужда сделать lvconvert --type raid1, > AV> а сборочниц живых не осталось, hasher c наскоку тоже не помог( Судя по тому, что в http://autoports.altlinux.org/pub/ALTLinux/autoports/t6/ бэкпорта нет -- "в лоб" сизифный не соберётся. Если брать пакет из p7/branch и отрывать ему поддержку systemd, начиная с использования макроса %_unitdir -- то минимальными усилиями: http://fly.osdn.org.ua/~mike/repos/lvm2-2.02.98-M60/ Проверьте, если поможет -- можно и в t6/branch. > О, даже точнее: > LVM 2.02.98 or above is required for this to work properly. > Prior versions are either not capable or will segfault and > corrupt the VG 2.02.98-alt1 -- это git snapshot 7a34db0c, если верить %changelog. -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-26 9:27 ` Michael Shigorin @ 2013-11-26 12:04 ` Alexander Volkov 2013-11-26 13:52 ` Michael Shigorin 0 siblings, 1 reply; 8+ messages in thread From: Alexander Volkov @ 2013-11-26 12:04 UTC (permalink / raw) To: sysadmins On 2013-11-26 11:27:19 +0200, Michael Shigorin wrote: MS> On Mon, Nov 25, 2013 at 05:19:16PM +0400, Alexander Volkov wrote: MS> > AV> Коллеги, а под t6/p6 lvm2 свежее 2.02.87 никто не собирал? MS> > AV> Появилась нужда сделать lvconvert --type raid1, MS> > AV> а сборочниц живых не осталось, hasher c наскоку тоже не помог( MS> Судя по тому, что в MS> http://autoports.altlinux.org/pub/ALTLinux/autoports/t6/ MS> бэкпорта нет -- "в лоб" сизифный не соберётся. Если брать MS> пакет из p7/branch и отрывать ему поддержку systemd, начиная MS> с использования макроса %_unitdir -- то минимальными усилиями: MS> http://fly.osdn.org.ua/~mike/repos/lvm2-2.02.98-M60/ MS> Проверьте, если поможет -- можно и в t6/branch. MS> > О, даже точнее: MS> > LVM 2.02.98 or above is required for this to work properly. MS> > Prior versions are either not capable or will segfault and MS> > corrupt the VG MS> 2.02.98-alt1 -- это git snapshot 7a34db0c, если верить %changelog. Спасибо! Установилось без вопросов, но захотело ещё ядреный модуль: [root@xeon daemons]# lvconvert -b -m1 --type raid1 ssdvol/newhome /dev/sdj1 /dev/sdh1 File descriptor 7 (pipe:[17360383]) leaked on lvconvert invocation. Parent PID 29919: bash FATAL: Module dm_raid not found. /sbin/modprobe failed: 1 raid1: Required device-mapper target(s) not detected in your kernel Run `lvconvert --help' for more information. [root@xeon daemons]# uname -r 2.6.32-ovz-el-alt40.M60P.2 Надо будет попробовать перегрузиться в alt88, там есть dm-raid -- Regards, Alexander ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-26 12:04 ` Alexander Volkov @ 2013-11-26 13:52 ` Michael Shigorin 2013-11-27 6:04 ` Alexander Volkov 0 siblings, 1 reply; 8+ messages in thread From: Michael Shigorin @ 2013-11-26 13:52 UTC (permalink / raw) To: sysadmins On Tue, Nov 26, 2013 at 04:04:31PM +0400, Alexander Volkov wrote: > Установилось без вопросов, но захотело ещё ядреный модуль: [...] > Надо будет попробовать перегрузиться в alt88, там есть dm-raid Там ещё и дыркофиксы, помнится, так что всяко стоит. Сообщите результат по возможности, ладно? -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-26 13:52 ` Michael Shigorin @ 2013-11-27 6:04 ` Alexander Volkov 2013-11-27 6:11 ` Alexander Volkov 0 siblings, 1 reply; 8+ messages in thread From: Alexander Volkov @ 2013-11-27 6:04 UTC (permalink / raw) To: sysadmins On 2013-11-26 15:52:49 +0200, Michael Shigorin wrote: MS> On Tue, Nov 26, 2013 at 04:04:31PM +0400, Alexander Volkov wrote: MS> > Установилось без вопросов, но захотело ещё ядреный модуль: MS> [...] MS> > Надо будет попробовать перегрузиться в alt88, там есть dm-raid MS> Там ещё и дыркофиксы, помнится, так что всяко стоит. MS> Сообщите результат по возможности, ладно? Ура! Работает: root@xeon ~]# lvs -ao +devices ssdvol LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert Devices newhome ssdvol rwi-aor-- 40,00g 17,63 newhome_rimage_0(0),newhome_rimage_1(0) [newhome_rimage_0] ssdvol Iwi-aor-- 40,00g /dev/sdd1(0) [newhome_rimage_1] ssdvol Iwi-aor-- 40,00g /dev/sdk1(1) [newhome_rmeta_0] ssdvol ewi-aor-- 4,00m /dev/sdd1(10240) [newhome_rmeta_1] ssdvol ewi-aor-- 4,00m /dev/sdk1(0) Идет процесс синхронизации. -- Regards, Alexander ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-27 6:04 ` Alexander Volkov @ 2013-11-27 6:11 ` Alexander Volkov 2014-01-18 14:28 ` Michael Shigorin 0 siblings, 1 reply; 8+ messages in thread From: Alexander Volkov @ 2013-11-27 6:11 UTC (permalink / raw) To: sysadmins On 2013-11-27 10:04:49 +0400, Alexander Volkov wrote: AV> On 2013-11-26 15:52:49 +0200, Michael Shigorin wrote: AV> MS> On Tue, Nov 26, 2013 at 04:04:31PM +0400, Alexander Volkov wrote: AV> MS> > Установилось без вопросов, но захотело ещё ядреный модуль: AV> MS> [...] AV> MS> > Надо будет попробовать перегрузиться в alt88, там есть dm-raid AV> MS> Там ещё и дыркофиксы, помнится, так что всяко стоит. AV> MS> Сообщите результат по возможности, ладно? AV> Ура! AV> Работает: AV> root@xeon ~]# lvs -ao +devices ssdvol AV> LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert Devices AV> newhome ssdvol rwi-aor-- 40,00g 17,63 newhome_rimage_0(0),newhome_rimage_1(0) AV> [newhome_rimage_0] ssdvol Iwi-aor-- 40,00g /dev/sdd1(0) AV> [newhome_rimage_1] ssdvol Iwi-aor-- 40,00g /dev/sdk1(1) AV> [newhome_rmeta_0] ssdvol ewi-aor-- 4,00m /dev/sdd1(10240) AV> [newhome_rmeta_1] ssdvol ewi-aor-- 4,00m /dev/sdk1(0) AV> Идет процесс синхронизации. Кстати, объясню, зачем затеял эту кутерьму - discard на ssd поверх md не работал, а вот если поверх lvm raid1 - то вроде как включился: /dev/mapper/ssdvol-newhome /home ext4 rw,relatime,commit=300,barrier=1,data=ordered,discard,usrquota,grpquota 0 0 -- Regards, Alexander ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Sysadmins] lvm2 in t6 2013-11-27 6:11 ` Alexander Volkov @ 2014-01-18 14:28 ` Michael Shigorin 0 siblings, 0 replies; 8+ messages in thread From: Michael Shigorin @ 2014-01-18 14:28 UTC (permalink / raw) To: sysadmins On Wed, Nov 27, 2013 at 10:11:04AM +0400, Alexander Volkov wrote: > Кстати, объясню, зачем затеял эту кутерьму - discard на ssd > поверх md не работал, а вот если поверх lvm raid1 - то вроде > как включился: > /dev/mapper/ssdvol-newhome /home ext4 rw,relatime,commit=300,barrier=1,data=ordered,discard,usrquota,grpquota 0 > 0 Спасибо, не знал. -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-01-18 14:28 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-11-25 12:12 [Sysadmins] lvm2 in t6 Alexander Volkov 2013-11-25 13:19 ` Alexander Volkov 2013-11-26 9:27 ` Michael Shigorin 2013-11-26 12:04 ` Alexander Volkov 2013-11-26 13:52 ` Michael Shigorin 2013-11-27 6:04 ` Alexander Volkov 2013-11-27 6:11 ` Alexander Volkov 2014-01-18 14:28 ` Michael Shigorin
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