* [sisyphus] Бага lvm?
@ 2009-03-26 12:38 Yury Aliaev
2009-03-26 9:18 ` Ildar Mulyukov
2009-03-26 9:42 ` Slava Semushin
0 siblings, 2 replies; 9+ messages in thread
From: Yury Aliaev @ 2009-03-26 12:38 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Приветствую всех!
При ппоытке добавить физ. раздел в группу разделов lvm, а потом
расширить лог. раздел наткнулся на следующее (добавление физ. раздела
прошло без проблем):
[root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
Segmentation fault
[root@Digitalina ~]# vgdisplay vg00 | grep "Total PE"
Total PE 42132
[root@Digitalina ~]# lvextend vg00/lv00 -l 42132
Extending logical volume lv00 to 164.58 GB
Logical volume lv00 successfully resized
Т.е. работает только если указывать абсолютный размер, а в процентах от
свободного места -- падает.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 12:38 [sisyphus] Бага lvm? Yury Aliaev
@ 2009-03-26 9:18 ` Ildar Mulyukov
2009-03-26 14:17 ` Yury Aliaev
2009-03-26 9:42 ` Slava Semushin
1 sibling, 1 reply; 9+ messages in thread
From: Ildar Mulyukov @ 2009-03-26 9:18 UTC (permalink / raw)
To: sisyphus
On 26.03.2009 18:38:42, Yury Aliaev wrote:
> При ппоытке добавить физ. раздел в группу разделов lvm, а потом
> расширить лог. раздел наткнулся на следующее (добавление физ. раздела
> прошло без проблем):
>
> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
> Segmentation fault
...
> Т.е. работает только если указывать абсолютный размер, а в процентах
> от свободного места -- падает.
_Свободного_ - это FREE, а не PVS.
--
Ildar Mulyukov, free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 9:18 ` Ildar Mulyukov
@ 2009-03-26 14:17 ` Yury Aliaev
0 siblings, 0 replies; 9+ messages in thread
From: Yury Aliaev @ 2009-03-26 14:17 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Ildar Mulyukov пишет:
> On 26.03.2009 18:38:42, Yury Aliaev wrote:
>> При ппоытке добавить физ. раздел в группу разделов lvm, а потом
>> расширить лог. раздел наткнулся на следующее (добавление физ. раздела
>> прошло без проблем):
>>
>> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
>> Segmentation fault
> ...
>> Т.е. работает только если указывать абсолютный размер, а в процентах
>> от свободного места -- падает.
>
> _Свободного_ - это FREE, а не PVS.
Из мана:
of the remaining free space for the specified PhysicalVolume(s)
with the suffix %PVS, or as a percentage of the remaining
free space in the
Volume Group with the suffix %FREE.
Да, вданном случае я забыл указать, какой физический раздел
использовать (мне как раз надо было расширить лог. раздел на вновь
добавленный физический), так что в моём случае было бы одинаково что
указать +100%PVS /dev/hda7, что +100%FREE. Но всё равно это не повод
падать с segfault.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 12:38 [sisyphus] Бага lvm? Yury Aliaev
2009-03-26 9:18 ` Ildar Mulyukov
@ 2009-03-26 9:42 ` Slava Semushin
2009-03-26 12:32 ` Dmitry V. Levin
1 sibling, 1 reply; 9+ messages in thread
From: Slava Semushin @ 2009-03-26 9:42 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
26 марта 2009 г. 18:38 пользователь Yury Aliaev <mutab0r@rambler> написал:
[...]
> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
> Segmentation fault
[...]
> Т.е. работает только если указывать абсолютный размер, а в процентах от
> свободного места -- падает.
Если программа падает по segmentation fault, значит нужно вешать баг.
Случаев, когда баг вешать не надо, лично я не знаю.
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 9:42 ` Slava Semushin
@ 2009-03-26 12:32 ` Dmitry V. Levin
2009-03-26 15:01 ` Yury Aliaev
0 siblings, 1 reply; 9+ messages in thread
From: Dmitry V. Levin @ 2009-03-26 12:32 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
On Thu, Mar 26, 2009 at 03:42:38PM +0600, Slava Semushin wrote:
> 26 марта 2009 г. 18:38 пользователь Yury Aliaev <mutab0r@rambler> написал:
> [...]
> > [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
> > Segmentation fault
> [...]
> > Т.е. работает только если указывать абсолютный размер, а в процентах от
> > свободного места -- падает.
>
> Если программа падает по segmentation fault, значит нужно вешать баг.
> Случаев, когда баг вешать не надо, лично я не знаю.
Пожалуй, если SEGV пришёл от ядра, а не от другого процесса, то
это повод вешать баг.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 12:32 ` Dmitry V. Levin
@ 2009-03-26 15:01 ` Yury Aliaev
2009-03-26 15:30 ` Michail Yakushin
0 siblings, 1 reply; 9+ messages in thread
From: Yury Aliaev @ 2009-03-26 15:01 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On 26.03.2009 15:32, Dmitry V. Levin wrote:
> On Thu, Mar 26, 2009 at 03:42:38PM +0600, Slava Semushin wrote:
>> 26 марта 2009 г. 18:38 пользователь Yury Aliaev<mutab0r@rambler> написал:
>> [...]
>>> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
>>> Segmentation fault
>> [...]
>>> Т.е. работает только если указывать абсолютный размер, а в процентах от
>>> свободного места -- падает.
>> Если программа падает по segmentation fault, значит нужно вешать баг.
>> Случаев, когда баг вешать не надо, лично я не знаю.
> Пожалуй, если SEGV пришёл от ядра, а не от другого процесса, то
> это повод вешать баг.
>
А как это узнать?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 15:01 ` Yury Aliaev
@ 2009-03-26 15:30 ` Michail Yakushin
2009-03-27 12:56 ` Yury Aliaev
0 siblings, 1 reply; 9+ messages in thread
From: Michail Yakushin @ 2009-03-26 15:30 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Yury Aliaev wrote:
> On 26.03.2009 15:32, Dmitry V. Levin wrote:
>> On Thu, Mar 26, 2009 at 03:42:38PM +0600, Slava Semushin wrote:
>>> 26 марта 2009 г. 18:38 пользователь Yury Aliaev<mutab0r@rambler>
>>> написал:
>>> [...]
>>>> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
>>>> Segmentation fault
>>> [...]
>>>> Т.е. работает только если указывать абсолютный размер, а в процентах от
>>>> свободного места -- падает.
>>> Если программа падает по segmentation fault, значит нужно вешать баг.
>>> Случаев, когда баг вешать не надо, лично я не знаю.
>> Пожалуй, если SEGV пришёл от ядра, а не от другого процесса, то
>> это повод вешать баг.
>>
>
> А как это узнать?
dmesg посмотреть.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-26 15:30 ` Michail Yakushin
@ 2009-03-27 12:56 ` Yury Aliaev
2009-03-27 13:21 ` Michail Yakushin
0 siblings, 1 reply; 9+ messages in thread
From: Yury Aliaev @ 2009-03-27 12:56 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Michail Yakushin пишет:
> Yury Aliaev wrote:
>> On 26.03.2009 15:32, Dmitry V. Levin wrote:
>>> On Thu, Mar 26, 2009 at 03:42:38PM +0600, Slava Semushin wrote:
>>>> 26 марта 2009 г. 18:38 пользователь Yury Aliaev<mutab0r@rambler>
>>>> написал:
>>>> [...]
>>>>> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
>>>>> Segmentation fault
>>>> [...]
>>>>> Т.е. работает только если указывать абсолютный размер, а в процентах от
>>>>> свободного места -- падает.
>>>> Если программа падает по segmentation fault, значит нужно вешать баг.
>>>> Случаев, когда баг вешать не надо, лично я не знаю.
>>> Пожалуй, если SEGV пришёл от ядра, а не от другого процесса, то
>>> это повод вешать баг.
>>>
>> А как это узнать?
> dmesg посмотреть.
И что я там увижу? И кстати, разве другие процессы так уж часто
рассылают SIGSEGV?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] Бага lvm?
2009-03-27 12:56 ` Yury Aliaev
@ 2009-03-27 13:21 ` Michail Yakushin
0 siblings, 0 replies; 9+ messages in thread
From: Michail Yakushin @ 2009-03-27 13:21 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Yury Aliaev wrote:
> Michail Yakushin пишет:
>> Yury Aliaev wrote:
>>> On 26.03.2009 15:32, Dmitry V. Levin wrote:
>>>> On Thu, Mar 26, 2009 at 03:42:38PM +0600, Slava Semushin wrote:
>>>>> 26 марта 2009 г. 18:38 пользователь Yury Aliaev<mutab0r@rambler>
>>>>> написал:
>>>>> [...]
>>>>>> [root@Digitalina ~]# lvresize vg00/lv00 -l +100%PVS
>>>>>> Segmentation fault
>>>>> [...]
>>>>>> Т.е. работает только если указывать абсолютный размер, а в
>>>>>> процентах от
>>>>>> свободного места -- падает.
>>>>> Если программа падает по segmentation fault, значит нужно вешать баг.
>>>>> Случаев, когда баг вешать не надо, лично я не знаю.
>>>> Пожалуй, если SEGV пришёл от ядра, а не от другого процесса, то
>>>> это повод вешать баг.
>>>>
>>> А как это узнать?
>> dmesg посмотреть.
>
> И что я там увижу?
Что такому-то процессу отправить SIGSERV
> И кстати, разве другие процессы так уж часто
> рассылают SIGSEGV?
Имхо нет.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-27 13:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 12:38 [sisyphus] Бага lvm? Yury Aliaev
2009-03-26 9:18 ` Ildar Mulyukov
2009-03-26 14:17 ` Yury Aliaev
2009-03-26 9:42 ` Slava Semushin
2009-03-26 12:32 ` Dmitry V. Levin
2009-03-26 15:01 ` Yury Aliaev
2009-03-26 15:30 ` Michail Yakushin
2009-03-27 12:56 ` Yury Aliaev
2009-03-27 13:21 ` Michail Yakushin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git