SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Creating directory "/run/lock/lvm"
Archiving volume group "vol0" metadata (seqno 119).
Creating logical volume swap
Creating volume group backup "/etc/lvm/backup/vol0" (seqno 120).
Activating logical volume vol0/swap.
activation/volume_list configuration setting not defined: Checking only host tags for vol0/swap.
Creating vol0-swap
Loading table for vol0-swap (252:5).
Resuming vol0-swap (252:5).
/dev/vol0/swap: not found: device not cleared
Aborting. Failed to wipe start of new LV.
Removing vol0-swap (252:5)
Creating volume group backup "/etc/lvm/backup/vol0" (seqno 121).
in dmesg I see
Code:
[ 4686.213776] dm-5: detected capacity change from 0 to 16777216
[ 4686.230770] udevd[18096]: inotify_add_watch(6, /dev/dm-5, 10) failed: No such file or directory
I'm running slackware-current with kernel 5.11.6.
Code:
~ # vgdisplay
--- Volume group ---
VG Name vol0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 123
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size <433.03 GiB
PE Size 4.00 MiB
Total PE 110855
Alloc PE / Size 92672 / 362.00 GiB
Free PE / Size 18183 / <71.03 GiB
VG UUID CQGRO0-4lP1-n7YJ-tfXK-boe6-ikdK-t701Jy
I recall having such issue a few years ago but I see the lv I tried to create back them is created. I might've booted another distribution to do that, though.
It seems like udev did not create the device node for the new LV. Is there any chance that you don't have udev installed?
Slackware uses eudev. It is installed and udevd is running.
I'm able to connect an external usb drive, open a luks device that's on that usb drive and mount it.
During system boot all LVs existing in my volume group are activated and mounted.
I'm guessing maybe the udev rules for lvm are botched but I don't remember ever modifying those.
I'll try creating a new volume group on a sub stick and see if that works.
That's weird.
I'm also using lvm on several machines. No problem except when I forgot to clear partition table from some old SAS disks. Easy fix with wipefs -a -f /dev/sdX.
Maybe you can run lvcreate with more verbose:
Code:
-v|--verbose ...
Set verbose level. Repeat from 1 to 4 times to increase the detail of messages sent to stdout and stderr.
I tried creating a volume group on a USB stick. Same result as on my hard drive, that is, I was able to create physical volume, then a volume group. But when I tried creating logical volume in that vg it failed.
I ran lvcreate -vvv --size 8G --name swap vol0
Here's the output
Code:
Parsing: lvcreate -vvv --size 8G --name swap vol0
Recognised command lvcreate_linear (id 53 / enum 56).
Sysfs filter initialised.
Internal filter initialised.
LVM type filter initialised.
Usable device filter initialised (scan_lvs 0).
mpath filter initialised.
Partitioned filter initialised.
signature filter initialised.
MD filter initialised.
Composite filter initialised.
Persistent filter initialised.
devices/hints not found in config: defaulting to all
metadata/record_lvs_history not found in config: defaulting to 0
DEGRADED MODE. Incomplete RAID LVs will be processed.
Processing command: lvcreate -vvv --size 8G --name swap vol0
Command pid: 10886
System ID:
O_DIRECT will be used
global/locking_type not found in config: defaulting to 1
File locking settings: readonly:0 sysinit:0 ignorelockingfailure:0 global/metadata_read_only:0 global/wait_for_locks:1.
devices/md_component_checks not found in config: defaulting to auto
Using md_component_checks auto use_full_md_check 0
Getting target version for linear
dm version [ opencount flush ] [16384] (*1)
dm versions [ opencount flush ] [16384] (*1)
Found linear target v1.4.0.
Getting target version for striped
dm versions [ opencount flush ] [16384] (*1)
Found striped target v1.6.0.
activation/mirror_region_size not found in config: defaulting to 2048
report/output_format not found in config: defaulting to basic
log/report_command_log not found in config: defaulting to 0
Processing each VG
Finding VG info
Finding devices to scan
Creating list of system devices.
Found dev 11:0 /dev/block/11:0 - new.
Found dev 252:2 /dev/vol0/dell - new alias.
Found dev 252:4 /dev/vol0/dropbox - new alias.
Found dev 252:0 /dev/vol0/home - new alias.
Found dev 252:1 /dev/vol0/media - new alias.
Found dev 252:3 /dev/vol0/source - new alias.
Found dev 251:0 /dev/zram0 - new alias.
Found dev 251:1 /dev/zram1 - new alias.
Found dev 251:2 /dev/zram2 - new alias.
Found dev 251:3 /dev/zram3 - new alias.
Filtering devices to scan (nodata)
Opened /dev/loop0 RO O_DIRECT
/dev/loop0: size is 0 sectors
Closed /dev/loop0
/dev/loop0: Skipping: Too small to hold a PV
filter caching bad /dev/loop0
Opened /dev/sda RO O_DIRECT
/dev/sda: size is 976773168 sectors
Closed /dev/sda
filter caching good /dev/sda
/dev/cdr: Skipping: Unrecognised LVM device type 11
filter caching bad /dev/cdr
/dev/zram0: Skipping: Unrecognised LVM device type 251
filter caching bad /dev/zram0
dm status (252:0) [ noopencount noflush ] [16384] (*1)
/dev/vol0/home: Skipping unusable device.
filter caching bad /dev/vol0/home
Opened /dev/loop1 RO O_DIRECT
/dev/loop1: size is 0 sectors
Closed /dev/loop1
/dev/loop1: Skipping: Too small to hold a PV
filter caching bad /dev/loop1
Opened /dev/sda1 RO O_DIRECT
/dev/sda1: size is 289107 sectors
Closed /dev/sda1
/dev/sda1: Device is a partition, using primary device sda for mpath component detection
filter caching good /dev/sda1
/dev/zram1: Skipping: Unrecognised LVM device type 251
filter caching bad /dev/zram1
dm status (252:1) [ noopencount noflush ] [16384] (*1)
/dev/vol0/media: Skipping unusable device.
filter caching bad /dev/vol0/media
Opened /dev/loop2 RO O_DIRECT
/dev/loop2: size is 0 sectors
Closed /dev/loop2
/dev/loop2: Skipping: Too small to hold a PV
filter caching bad /dev/loop2
Opened /dev/sda2 RO O_DIRECT
/dev/sda2: size is 68356575 sectors
Closed /dev/sda2
/dev/sda2: Device is a partition, using primary device sda for mpath component detection
filter caching good /dev/sda2
/dev/zram2: Skipping: Unrecognised LVM device type 251
filter caching bad /dev/zram2
dm status (252:2) [ noopencount noflush ] [16384] (*1)
/dev/vol0/dell: Skipping unusable device.
filter caching bad /dev/vol0/dell
Opened /dev/loop3 RO O_DIRECT
/dev/loop3: size is 0 sectors
Closed /dev/loop3
/dev/loop3: Skipping: Too small to hold a PV
filter caching bad /dev/loop3
Opened /dev/sda3 RO O_DIRECT
/dev/sda3: size is 908127423 sectors
Closed /dev/sda3
/dev/sda3: Device is a partition, using primary device sda for mpath component detection
filter caching good /dev/sda3
/dev/zram3: Skipping: Unrecognised LVM device type 251
filter caching bad /dev/zram3
dm status (252:3) [ noopencount noflush ] [16384] (*1)
/dev/vol0/source: Skipping unusable device.
filter caching bad /dev/vol0/source
Opened /dev/loop4 RO O_DIRECT
/dev/loop4: size is 0 sectors
Closed /dev/loop4
/dev/loop4: Skipping: Too small to hold a PV
filter caching bad /dev/loop4
dm status (252:4) [ noopencount noflush ] [16384] (*1)
/dev/vol0/dropbox: Skipping unusable device.
filter caching bad /dev/vol0/dropbox
Opened /dev/loop5 RO O_DIRECT
/dev/loop5: size is 0 sectors
Closed /dev/loop5
/dev/loop5: Skipping: Too small to hold a PV
filter caching bad /dev/loop5
Opened /dev/loop6 RO O_DIRECT
/dev/loop6: size is 0 sectors
Closed /dev/loop6
/dev/loop6: Skipping: Too small to hold a PV
filter caching bad /dev/loop6
Opened /dev/loop7 RO O_DIRECT
/dev/loop7: size is 0 sectors
Closed /dev/loop7
/dev/loop7: Skipping: Too small to hold a PV
filter caching bad /dev/loop7
Opened /dev/sdb RO O_DIRECT
/dev/sdb: size is 250069680 sectors
Closed /dev/sdb
filter caching good /dev/sdb
Opened /dev/sdb1 RO O_DIRECT
/dev/sdb1: size is 250067599 sectors
Closed /dev/sdb1
/dev/sdb1: Device is a partition, using primary device sdb for mpath component detection
filter caching good /dev/sdb1
Reading hint file
devices/global_filter not found in config: defaulting to global_filter = [ "a|.*|" ]
devices/filter not found in config: defaulting to filter = [ "a|.*|" ]
add hint /dev/sda3 8VqTPWeNJrU9Dvyk7WTe23A7ook1g3i4 8:3 vg:vol0
/dev/loop0: using cached size 0 sectors
/dev/sda: using cached size 976773168 sectors
/dev/cdr: Skipping: Unrecognised LVM device type 11
/dev/zram0: Skipping: Unrecognised LVM device type 251
/dev/loop1: using cached size 0 sectors
/dev/sda1: using cached size 289107 sectors
/dev/zram1: Skipping: Unrecognised LVM device type 251
/dev/loop2: using cached size 0 sectors
/dev/sda2: using cached size 68356575 sectors
/dev/zram2: Skipping: Unrecognised LVM device type 251
/dev/loop3: using cached size 0 sectors
/dev/sda3: using cached size 908127423 sectors
/dev/zram3: Skipping: Unrecognised LVM device type 251
/dev/loop4: using cached size 0 sectors
/dev/loop5: using cached size 0 sectors
/dev/loop6: using cached size 0 sectors
/dev/loop7: using cached size 0 sectors
/dev/sdb: using cached size 250069680 sectors
/dev/sdb1: using cached size 250067599 sectors
accept hints found 1
get_hints: applied using 1 other 5
Checking fd limit for num_devs 1 want 33 soft 1024 hard 4096
Scanning 1 devices for VG info
open /dev/sda3 ro di 0 fd 4
Scanning submitted 1 reads
Processing data from device /dev/sda3 8:3 di 0 block 0x563543cee010
/dev/sda3: using cached size 908127423 sectors
/dev/sda3: Device is a partition, using primary device sda for mpath component detection
/dev/sda3: using cached size 908127423 sectors
filter caching good /dev/sda3
/dev/sda3: lvm2 label detected at sector 1
lvmcache /dev/sda3: now in VG #orphans_lvm2 #orpha-ns_l-vm2
/dev/sda3: PV header extension version 2 found
Scanning /dev/sda3 mda1 summary.
Reading mda header sector from /dev/sda3 at 4096
Reading metadata summary from /dev/sda3 at 390656 size 2688 (+0)
Found metadata summary on /dev/sda3 at 390656 size 2688 for VG vol0
lvmcache adding vginfo for vol0 CQGRO0-4lP1-n7YJ-tfXK-boe6-ikdK-t701Jy
lvmcache /dev/sda3: now in VG vol0 CQGRO0-4lP1-n7YJ-tfXK-boe6-ikdK-t701Jy
lvmcache /dev/sda3: VG vol0: set VGID to CQGRO04lP1n7YJtfXKboe6ikdKt701Jy.
lvmcache /dev/sda3 mda1 VG vol0 set seqno 129 checksum f63b010e mda_size 2688
lvmcache /dev/sda3: VG vol0: set creation host to hostname.example.org.
Scanned /dev/sda3 mda1 seqno 129
Scanned devices: read errors 0 process errors 0 failed 0
Found VG info for 1 VGs
Obtaining the complete list of VGs to process
Processing VG vol0 CQGRO0-4lP1-n7YJ-tfXK-boe6-ikdK-t701Jy
Locking /run/lock/lvm/V_vol0 WB
_do_flock /run/lock/lvm/V_vol0:aux WB
_do_flock /run/lock/lvm/V_vol0 WB
_undo_flock /run/lock/lvm/V_vol0:aux
Reading VG vol0 CQGRO04lP1n7YJtfXKboe6ikdKt701Jy
reopen writable /dev/sda3 di 0 prev 4 fd 5
Reading mda header sector from /dev/sda3 at 4096
rescan skipped - unchanged offset 386560 checksum f63b010e
Reading VG vol0 metadata from /dev/sda3 4096
Reading mda header sector from /dev/sda3 at 4096
VG vol0 metadata check /dev/sda3 mda 4096 slot0 offset 386560 size 2688
Reading metadata from /dev/sda3 at 390656 size 2688 (+0)
Allocated VG vol0 at 0x563543cfeb70.
Importing logical volume vol0/home.
Importing logical volume vol0/media.
Importing logical volume vol0/dell.
Importing logical volume vol0/source.
Importing logical volume vol0/dropbox.
Found metadata on /dev/sda3 at 390656 size 2688 for VG vol0
lvmcache_update_vg vol0 for info /dev/sda3
metadata/lvs_history_retention_time not found in config: defaulting to 0
/dev/sda3 0: 0 10240: home(0:0)
/dev/sda3 1: 10240 37120: media(0:0)
/dev/sda3 2: 47360 10240: dell(0:0)
/dev/sda3 3: 57600 5120: home(10240:0)
/dev/sda3 4: 62720 8960: media(37120:0)
/dev/sda3 5: 71680 422: NULL(0:0)
/dev/sda3 6: 72102 4352: home(15360:0)
/dev/sda3 7: 76454 8960: media(46080:0)
/dev/sda3 8: 85414 5632: home(19712:0)
/dev/sda3 9: 91046 768: source(0:0)
/dev/sda3 10: 91814 1280: dropbox(0:0)
/dev/sda3 11: 93094 17761: NULL(0:0)
/dev/sda3: using cached size 908127423 sectors
Allocated VG vol0 at 0x563543d02b80.
Importing logical volume vol0/home.
Importing logical volume vol0/media.
Importing logical volume vol0/dell.
Importing logical volume vol0/source.
Importing logical volume vol0/dropbox.
Running command for VG vol0 CQGRO0-4lP1-n7YJ-tfXK-boe6-ikdK-t701Jy
Archiving volume group "vol0" metadata (seqno 129).
Creating logical volume swap
Adding segment of type striped to LV swap.
Adjusted allocation request to 2048 logical extents. Existing size 0. New size 2048.
Allowing allocation on /dev/sda3 start PE 71680 length 422
Allowing allocation on /dev/sda3 start PE 93094 length 17761
Trying allocation using contiguous policy.
Areas to be sorted and filled sequentially.
Still need 2048 total extents from 18183 remaining (0 positional slots):
1 (1 data/0 parity) parallel areas of 2048 extents each
0 mirror logs of 0 extents each
Considering allocation area 0 as /dev/sda3 start PE 93094 length 2048 leaving 15713.
Allocating parallel area 0 on /dev/sda3 start PE 93094 length 2048.
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
/dev/sda3 0: 0 10240: home(0:0)
/dev/sda3 1: 10240 37120: media(0:0)
/dev/sda3 2: 47360 10240: dell(0:0)
/dev/sda3 3: 57600 5120: home(10240:0)
/dev/sda3 4: 62720 8960: media(37120:0)
/dev/sda3 5: 71680 422: NULL(0:0)
/dev/sda3 6: 72102 4352: home(15360:0)
/dev/sda3 7: 76454 8960: media(46080:0)
/dev/sda3 8: 85414 5632: home(19712:0)
/dev/sda3 9: 91046 768: source(0:0)
/dev/sda3 10: 91814 1280: dropbox(0:0)
/dev/sda3 11: 93094 2048: swap(0:0)
/dev/sda3 12: 95142 15713: NULL(0:0)
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
Reading mda header sector from /dev/sda3 at 4096
VG vol0 seqno 130 metadata write to /dev/sda3 mda_start 4096 mda_size 1044480 mda_last 1048575
VG vol0 130 new metadata start align from 389248 to 389632 (+384)
VG vol0 130 metadata area location old start 386560 last 389247 size 2688 wrap 0
VG vol0 130 metadata area location new start 389632 last 392618 size 2987 wrap 0
VG vol0 130 metadata disk location start 393728 size 2987 last 396714
VG vol0 130 metadata last align from 396714 to 396799 (+85)
VG vol0 130 metadata write at 393728 size 3072 (wrap 0)
Reading mda header sector from /dev/sda3 at 4096
VG vol0 metadata precommit seq 130 on /dev/sda3 mda header at 4096 (used)
VG vol0 metadata precommit slot0 offset 386560 size 2688 slot1 offset 389632 size 2987
Limit write at 0 len 131072 to len 4608
Allocated VG vol0 at 0x563543d16ba0.
Importing logical volume vol0/home.
Importing logical volume vol0/media.
Importing logical volume vol0/dell.
Importing logical volume vol0/source.
Importing logical volume vol0/dropbox.
Importing logical volume vol0/swap.
Reading mda header sector from /dev/sda3 at 4096
VG vol0 metadata commit seq 130 on /dev/sda3 mda header at 4096 (used)
VG vol0 metadata commit slot0 offset 389632 size 2987 slot1 offset 0 size 0
Limit write at 0 len 131072 to len 4608
Freeing VG vol0 at 0x563543d02b80.
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
Creating volume group backup "/etc/lvm/backup/vol0" (seqno 130).
Writing vol0 metadata to /etc/lvm/backup/.lvm_hostname.example.org_10886_1719069988
Renaming /etc/lvm/backup/.lvm_hostname.example.org_10886_1719069988 to /etc/lvm/backup/vol0.tmp
Committing file vol0 metadata (130)
Renaming /etc/lvm/backup/vol0.tmp to /etc/lvm/backup/vol0
Activating logical volume vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
Skipping checks for old devices without LVM- dm uuid prefix (kernel vsn 5 >= 3).
activation/volume_list configuration setting not defined: Checking only host tags for vol0/swap.
Activating vol0/swap noscan.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
Opened /dev/sda3 RO O_DIRECT
/dev/sda3: read_ahead is 256 sectors
Closed /dev/sda3
Entering prioritized section (activating).
Raised task priority 0 -> -18.
Udev is not running. Not using udev synchronisation code.
Creating ACTIVATE tree for vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-real [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-cow [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow [ opencount flush ] [16384] (*1)
Adding new LV vol0/swap to dtree
Not matched uuid LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS in deptree.
activation/verify_udev_operations not found in config: defaulting to 0
Getting driver version
dm version [ opencount flush ] [16384] (*1)
Not matched uuid LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS in deptree.
Checking kernel supports striped segment type for vol0/swap
Calculated readahead of LV swap is 256
Creating vol0-swap
dm create vol0-swap LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
Loading table for vol0-swap (252:5).
Adding target to (252:5): 0 16777216 linear 8:3 762628096
dm table (252:5) [ opencount flush ] [16384] (*1)
dm reload (252:5) [ noopencount flush ] [16384] (*1)
Table size changed from 0 to 16777216 for vol0-swap (252:5).
Resuming vol0-swap (252:5).
dm resume (252:5) [ noopencount flush ] [16384] (*1)
vol0-swap: Stacking NODE_ADD (252,5) 0:6 0660 [trust_udev]
vol0-swap: Stacking NODE_READ_AHEAD 256 (flags=1)
Creating CLEAN tree for vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ opencount flush ] [16384] (*1)
dm deps (252:5) [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-real [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-cow [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow [ opencount flush ] [16384] (*1)
Leaving section (activated).
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
Unlock: Memlock counters: prioritized:1 locked:0 critical:0 daemon:0 suspended:0
Restoring original task priority 0.
Syncing device names
vol0-swap: Skipping NODE_ADD (252,5) 0:6 0660 [trust_udev]
vol0-swap: Processing NODE_READ_AHEAD 256 (flags=1)
vol0-swap (252:5): read ahead is 256
vol0-swap: retaining kernel read ahead of 256 (requested 256)
/dev/vol0/swap: stat failed: No such file or directory
/dev/vol0/swap: stat failed: No such file or directory
Device name not found in dev_cache repeat dev_cache_scan for /dev/vol0/swap
Creating list of system devices.
Found dev 11:0 /dev/block/11:0 - exists.
Found dev 251:0 /dev/block/251:0 - exists.
Found dev 251:1 /dev/block/251:1 - exists.
Found dev 251:2 /dev/block/251:2 - exists.
Found dev 251:3 /dev/block/251:3 - exists.
Found dev 252:0 /dev/block/252:0 - exists.
Found dev 252:1 /dev/block/252:1 - exists.
Found dev 252:2 /dev/block/252:2 - exists.
Found dev 252:3 /dev/block/252:3 - exists.
Found dev 252:4 /dev/block/252:4 - exists.
Found dev 7:0 /dev/block/7:0 - exists.
Found dev 7:1 /dev/block/7:1 - exists.
Found dev 7:2 /dev/block/7:2 - exists.
Found dev 7:3 /dev/block/7:3 - exists.
Found dev 7:4 /dev/block/7:4 - exists.
Found dev 7:5 /dev/block/7:5 - exists.
Found dev 7:6 /dev/block/7:6 - exists.
Found dev 7:7 /dev/block/7:7 - exists.
Found dev 8:0 /dev/block/8:0 - exists.
Found dev 8:1 /dev/block/8:1 - exists.
Found dev 8:16 /dev/block/8:16 - exists.
Found dev 8:17 /dev/block/8:17 - exists.
Found dev 8:2 /dev/block/8:2 - exists.
Found dev 8:3 /dev/block/8:3 - exists. 8VqTPWeN
Found dev 11:0 /dev/cdr - exists.
Found dev 11:0 /dev/cdr0 - exists.
Found dev 11:0 /dev/cdrom - exists.
Found dev 11:0 /dev/cdrom0 - exists.
Found dev 11:0 /dev/cdrw - exists.
Found dev 11:0 /dev/cdrw0 - exists.
Found dev 11:0 /dev/cdwriter - exists.
Found dev 11:0 /dev/cdwriter0 - exists.
Found dev 8:16 /dev/disk/by-id/ata-ADATA_SU800_2G4820024924 - exists.
Found dev 8:17 /dev/disk/by-id/ata-ADATA_SU800_2G4820024924-part1 - exists.
Found dev 11:0 /dev/disk/by-id/ata-_NEC_DVD_RW_ND-3500AG - exists.
Found dev 8:0 /dev/disk/by-id/ata-ST3500413AS_9VMXKXQN - exists.
Found dev 8:1 /dev/disk/by-id/ata-ST3500413AS_9VMXKXQN-part1 - exists.
Found dev 8:2 /dev/disk/by-id/ata-ST3500413AS_9VMXKXQN-part2 - exists.
Found dev 8:3 /dev/disk/by-id/ata-ST3500413AS_9VMXKXQN-part3 - exists. 8VqTPWeN
Found dev 252:2 /dev/disk/by-id/dm-name-vol0-dell - exists.
Found dev 252:4 /dev/disk/by-id/dm-name-vol0-dropbox - exists.
Found dev 252:0 /dev/disk/by-id/dm-name-vol0-home - exists.
Found dev 252:1 /dev/disk/by-id/dm-name-vol0-media - exists.
Found dev 252:3 /dev/disk/by-id/dm-name-vol0-source - exists.
Found dev 252:2 /dev/disk/by-id/dm-uuid-LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701JyH0Yi24nk1CIvGC0jcTgwAZ2bVtr4ApGc - exists.
Found dev 252:0 /dev/disk/by-id/dm-uuid-LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701JyiJ3a2JgL4hLSYFc46cVaeRI2CWaCKTkv - exists.
Found dev 252:1 /dev/disk/by-id/dm-uuid-LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701JyKUcYdDUHyMTpW4P4GCxxWO0E1O95rIwK - exists.
Found dev 252:4 /dev/disk/by-id/dm-uuid-LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701JyoDUZjq3HoHpK1HU2E3ZvzKhDjjZFTBBB - exists.
Found dev 252:3 /dev/disk/by-id/dm-uuid-LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyuvc0oBVO5pJgpTgjvqyfLQBtbQTy1CxW - exists.
Found dev 8:3 /dev/disk/by-id/lvm-pv-uuid-8VqTPW-eNJr-U9Dv-yk7W-Te23-A7oo-k1g3i4 - exists. 8VqTPWeN
Found dev 8:0 /dev/disk/by-id/wwn-0x5000c50032a9f718 - exists.
Found dev 8:1 /dev/disk/by-id/wwn-0x5000c50032a9f718-part1 - exists.
Found dev 8:2 /dev/disk/by-id/wwn-0x5000c50032a9f718-part2 - exists.
Found dev 8:3 /dev/disk/by-id/wwn-0x5000c50032a9f718-part3 - exists. 8VqTPWeN
Found dev 8:16 /dev/disk/by-id/wwn-0x5707c181003ed533 - exists.
Found dev 8:17 /dev/disk/by-id/wwn-0x5707c181003ed533-part1 - exists.
Found dev 8:17 /dev/disk/by-partlabel/Linux\x20filesystem - exists.
Found dev 8:1 /dev/disk/by-partuuid/458cc20c-01 - exists.
Found dev 8:2 /dev/disk/by-partuuid/458cc20c-02 - exists.
Found dev 8:3 /dev/disk/by-partuuid/458cc20c-03 - exists. 8VqTPWeN
Found dev 8:17 /dev/disk/by-partuuid/ade42c60-cd98-424e-8de5-9acd7d6a6bef - exists.
Found dev 252:2 /dev/disk/by-uuid/2df2471c-fdef-4835-807b-c5980e7031e0 - exists.
Found dev 252:0 /dev/disk/by-uuid/7ed4149e-102a-4ddf-bae0-d79f1b0bfc4a - exists.
Found dev 8:2 /dev/disk/by-uuid/95673a33-a4ab-4817-93b2-279bc2e4360c - exists.
Found dev 252:4 /dev/disk/by-uuid/bb281cbf-0691-42bb-9d32-746d24712f99 - exists.
Found dev 8:1 /dev/disk/by-uuid/d0b4a088-46ee-4ef9-ae1f-0bac0f06bbfd - exists.
Found dev 252:1 /dev/disk/by-uuid/d494498b-0c4b-42f9-b215-29c6225cdf6f - exists.
Found dev 252:3 /dev/disk/by-uuid/d4a33c55-d673-458f-b1e7-e123a4e0a151 - exists.
Found dev 8:17 /dev/disk/by-uuid/f848e6b8-08c0-4668-a645-f67a268d27dd - exists.
Found dev 252:0 /dev/dm-0 - exists.
Found dev 252:1 /dev/dm-1 - exists.
Found dev 252:2 /dev/dm-2 - exists.
Found dev 252:3 /dev/dm-3 - exists.
Found dev 252:4 /dev/dm-4 - exists.
Found dev 252:5 /dev/dm-5 - new.
Found dev 11:0 /dev/dvd - exists.
Found dev 11:0 /dev/dvd0 - exists.
Found dev 11:0 /dev/dvdr - exists.
Found dev 11:0 /dev/dvdr0 - exists.
Found dev 11:0 /dev/dvdrw - exists.
Found dev 11:0 /dev/dvdrw0 - exists.
Found dev 11:0 /dev/dvdwriter - exists.
Found dev 11:0 /dev/dvdwriter0 - exists.
/dev/fd: Symbolic link to directory
Found dev 7:0 /dev/loop0 - exists.
Found dev 7:1 /dev/loop1 - exists.
Found dev 7:2 /dev/loop2 - exists.
Found dev 7:3 /dev/loop3 - exists.
Found dev 7:4 /dev/loop4 - exists.
Found dev 7:5 /dev/loop5 - exists.
Found dev 7:6 /dev/loop6 - exists.
Found dev 7:7 /dev/loop7 - exists.
Found dev 252:2 /dev/mapper/vol0-dell - exists.
Found dev 252:4 /dev/mapper/vol0-dropbox - exists.
Found dev 252:0 /dev/mapper/vol0-home - exists.
Found dev 252:1 /dev/mapper/vol0-media - exists.
Found dev 252:3 /dev/mapper/vol0-source - exists.
Found dev 8:0 /dev/sda - exists.
Found dev 8:1 /dev/sda1 - exists.
Found dev 8:2 /dev/sda2 - exists.
Found dev 8:3 /dev/sda3 - exists. 8VqTPWeN
Found dev 8:16 /dev/sdb - exists.
Found dev 8:17 /dev/sdb1 - exists.
Found dev 11:0 /dev/sr0 - exists.
Found dev 252:2 /dev/vol0/dell - exists.
Found dev 252:4 /dev/vol0/dropbox - exists.
Found dev 252:0 /dev/vol0/home - exists.
Found dev 252:1 /dev/vol0/media - exists.
Found dev 252:3 /dev/vol0/source - exists.
Found dev 251:0 /dev/zram0 - exists.
Found dev 251:1 /dev/zram1 - exists.
Found dev 251:2 /dev/zram2 - exists.
Found dev 251:3 /dev/zram3 - exists.
/dev/vol0/swap: not found: device not cleared
Aborting. Failed to wipe start of new LV.
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
Syncing device names
Deactivating vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ opencount flush ] [16384] (*1)
Entering prioritized section (deactivating).
Raised task priority 0 -> -18.
Creating DEACTIVATE tree for vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ opencount flush ] [16384] (*1)
dm deps (252:5) [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-real [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-real [ opencount flush ] [16384] (*1)
Getting device info for vol0-swap-cow [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS-cow [ opencount flush ] [16384] (*1)
dm info (252:5) [ opencount flush ] [16384] (*1)
Removing vol0-swap (252:5)
dm remove (252:5) [ noopencount flush retryremove ] [16384] (*1)
vol0-swap: Stacking NODE_DEL [trust_udev]
Leaving section (deactivated).
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
dm info LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS [ noopencount flush ] [16384] (*1)
/dev/sda3 0: 0 10240: home(0:0)
/dev/sda3 1: 10240 37120: media(0:0)
/dev/sda3 2: 47360 10240: dell(0:0)
/dev/sda3 3: 57600 5120: home(10240:0)
/dev/sda3 4: 62720 8960: media(37120:0)
/dev/sda3 5: 71680 422: NULL(0:0)
/dev/sda3 6: 72102 4352: home(15360:0)
/dev/sda3 7: 76454 8960: media(46080:0)
/dev/sda3 8: 85414 5632: home(19712:0)
/dev/sda3 9: 91046 768: source(0:0)
/dev/sda3 10: 91814 1280: dropbox(0:0)
/dev/sda3 11: 93094 17761: NULL(0:0)
Unlock: Memlock counters: prioritized:1 locked:0 critical:0 daemon:0 suspended:0
Restoring original task priority 0.
Reading mda header sector from /dev/sda3 at 4096
VG vol0 seqno 131 metadata write to /dev/sda3 mda_start 4096 mda_size 1044480 mda_last 1048575
VG vol0 131 new metadata start align from 392619 to 392704 (+85)
VG vol0 131 metadata area location old start 389632 last 392618 size 2987 wrap 0
VG vol0 131 metadata area location new start 392704 last 395390 size 2687 wrap 0
VG vol0 131 metadata disk location start 396800 size 2687 last 399486
VG vol0 131 metadata last align from 399486 to 399871 (+385)
VG vol0 131 metadata write at 396800 size 3072 (wrap 0)
Reading mda header sector from /dev/sda3 at 4096
VG vol0 metadata precommit seq 131 on /dev/sda3 mda header at 4096 (used)
VG vol0 metadata precommit slot0 offset 389632 size 2987 slot1 offset 392704 size 2687
Limit write at 0 len 131072 to len 4608
Allocated VG vol0 at 0x563543d1abb0.
Importing logical volume vol0/home.
Importing logical volume vol0/media.
Importing logical volume vol0/dell.
Importing logical volume vol0/source.
Importing logical volume vol0/dropbox.
Reading mda header sector from /dev/sda3 at 4096
VG vol0 metadata commit seq 131 on /dev/sda3 mda header at 4096 (used)
VG vol0 metadata commit slot0 offset 392704 size 2687 slot1 offset 0 size 0
Limit write at 0 len 131072 to len 4608
Freeing VG vol0 at 0x563543d16ba0.
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
Creating volume group backup "/etc/lvm/backup/vol0" (seqno 131).
Writing vol0 metadata to /etc/lvm/backup/.lvm_hostname.example.org_10886_662554447
Renaming /etc/lvm/backup/.lvm_hostname.example.org_10886_662554447 to /etc/lvm/backup/vol0.tmp
Committing file vol0 metadata (131)
Renaming /etc/lvm/backup/vol0.tmp to /etc/lvm/backup/vol0
Unlock: Memlock counters: prioritized:0 locked:0 critical:0 daemon:0 suspended:0
Syncing device names
vol0-swap: Skipping NODE_DEL [trust_udev]
Unlocking /run/lock/lvm/V_vol0
_undo_flock /run/lock/lvm/V_vol0
Freeing VG vol0 at 0x563543d1abb0.
Freeing VG vol0 at 0x563543cfeb70.
Destroy lvmcache content
Completed: lvcreate -vvv --size 8G --name swap vol0
From this log, it seems that udev daemon is not running. Check your udev using udevadm monitor (CTRL+C to exit).
Quote:
Originally Posted by vaston
Code:
Closed /dev/sda3
Entering prioritized section (activating).
Raised task priority 0 -> -18.
>> Udev is not running. Not using udev synchronisation code. <<
Creating ACTIVATE tree for vol0/swap.
Getting device info for vol0-swap [LVM-CQGRO04lP1n7YJtfXKboe6ikdKt701Jyc2L1Zev3iBPJubqNmIfKS7LmuotRf1SS].
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.