You are not logged in.
Hi,
I've set up my system on LVM, and have plenty of free space in my volume group:
[root@everynothing ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 22
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 7
Max PV 0
Cur PV 1
Act PV 1
VG Size 55.84 GiB
PE Size 4.00 MiB
Total PE 14294
Alloc PE / Size 11290 / 44.10 GiB
Free PE / Size 3004 / 11.73 GiB
VG UUID T1i99M-56zR-F0LW-AFq5-plMJ-aw7Z-Zyc47G
And now I want to make a new logical volume:
[root@everynothing ~]# modprobe dm_mod
[root@everynothing ~]# lvcreate -L 1G --name unencrypted VolGroup00
/dev/mapper/VolGroup00-unencrypted: open failed: No such file or directory
/dev/VolGroup00/unencrypted: not found: device not cleared
Aborting. Failed to wipe start of new LV.
[root@everynothing ~]# ls /dev/mapper/
backups root VolGroup00-backups VolGroup00-root VolGroup00-var
control swap VolGroup00-joe VolGroup00-swap
joe var VolGroup00-pacman_cache VolGroup00-usr
[root@everynothing ~]# ls /dev/VolGroup00/
backups joe pacman_cache root swap usr var
WHY??
Last edited by t67t67 (2011-08-24 14:07:40)
Offline
Anything relevant in dmesg?
Offline
nothing at all
Offline
You can invcrease verbosity up to three times (-vvv) and debug level up to six times (-dddddd). Verbosity increases the amount of output to the console, debug increases the amount of output to the logs. It's not in man lvcreate because it's a 'common' option, it's in man lvm instead.
So just go all out and run
lvcreate -dddddd -vvv -L 1G --name unencrypted VolGroup00
then post the output and check the logs and post contents as necessary.
Note: if you're in a tty you'll probably want to redirect output to a file, because -vvv results in a lot of output.
Last edited by alphaniner (2011-08-16 18:45:03)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I couldn't find any relevent errors or debugging info, but I've found a solution.
Add -Z n to dissable zeroing. Then it just works fine.
Offline