csanyi...@gmail.com a écrit : > > I want to create one LV for /usr and one LV for /var. > But I can't create a LV with: > # lvcreate --size 10.10G -n usr bubba > Rounding up size to full physical extent 10.10 GiB > /dev/bubba/usr: not found: device not cleared > Aborting. Failed to wipe start of new LV. > semid 1114120: semop failed for cookie 0xd4d6ff6: incorrect > semaphore state > Failed to set a proper state for notification semaphore > identified by cookie value 223178742 (0xd4d6ff6) to initialize > waiting for incoming notifications. > > I don't understand why can't create a new LV with this command abowe?
Never had this error before. From a quick search, it may be related to hotplug/udev event processing. In which environment are you running this command ? What happens if you add the option --noudevsync ? > And don't understand why is successful following command? > # lvcreate -vvv --size 10.10G -n usr bubba -v just increases the verbosity, so it should not have any effect on success or failure. > I search on Internet and found another solution: > # lvcreate -Zn --size 10.10G -n usr bubba > Rounding up size to full physical extent 10.10 GiB > WARNING: "bubba/usr" not zeroed > Logical volume "usr" created > semid 1146888: semop failed for cookie 0xd4d9b50: incorrect > semaphore state > Failed to set a proper state for notification semaphore > identified by cookie value 223189840 (0xd4d9b50) to initialize > waiting for incoming notifications. That's not a solution, just a workaround to avoid the wiping error. > Can I use now this newly created LV to make on it an ext4 filesystem > despite the fact that it is not zeroed? Yes, if it is created correctly and active. Check with lvs, lvdisplay. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5586cc60.5090...@plouf.fr.eu.org