Skip to contentSkip to conversation

kernel hang

linux-lvm Jan Niehusmann 3 participants 5 messages Dec 1, 2000 – Dec 5, 2000

lore
Share & tools
lore
#0 lore raw

Is there something wrong with doing
while true; do dd if=/dev/zero of=/dev/vg1/test; done and
lvextend -L+90M /dev/vg1/test

at the same time?

It caused a system hang (no messages, no log) on linux-2.4.0-test12-pre3 (with ext2 online resize patches, but there obviously was no filesystem on the volume)

Jan

PS: Andreas, perhaps the errors I saw were not ext2 related. Maybe the kernel doesn't like writing to the device and resizing it at the same time?

#1 lore raw
Quoted 7 lines · Jan Niehusmann

Is there something wrong with doing
while true; do dd if=/dev/zero of=/dev/vg1/test; done and
lvextend -L+90M /dev/vg1/test

at the same time?

No.
The extension of the LV is done in an atomic way.

Quoted 4 lines

It caused a system hang (no messages, no log) on linux-2.4.0-test12-pre3 (with ext2 online resize patches, but there obviously was no filesystem on the volume)

Did you experience other heavy load hangs in general?

Quoted 12 lines

Jan

PS: Andreas, perhaps the errors I saw were not ext2 related. Maybe the kernel doesn't like writing to the device and resizing it at the same time?

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

Signature · 12 lines
Regards,
Heinz      -- The LVM guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
[email protected]                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 1 line · Heinz J. Mauelshagen

Did you experience other heavy load hangs in general?

no, none. Neither processor nor i/o load like heavy swapping cause any problems.
In fact, this was the first complete hangup for months.

Jan

#3 lore raw
Quoted 6 lines · Jan Niehusmann
Quoted 1 line · Heinz J. Mauelshagen

Did you experience other heavy load hangs in general?

no, none. Neither processor nor i/o load like heavy swapping cause any problems.
In fact, this was the first complete hangup for months.

Is it reproducable then?

Quoted 2 lines

Jan

Signature · 12 lines
Regards,
Heinz      -- The LVM guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Bartningstr. 12
                                                  64289 Darmstadt
                                                  Germany
[email protected]                           +49 6151 7103 86
                                                       FAX 7103 96
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#4 lore raw
Quoted 4 lines · Heinz J. Mauelshagen
Quoted 1 line · Jan Niehusmann

In fact, this was the first complete hangup for months.

Is it reproducable then?

I didn't try: There is some important data on the vg so I don't like the idea of linux crashing while changing the vg metadata.

Jan