- This topic has 3 replies, 2 voices, and was last updated Nov 2-5:25 pm by Anonymous.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › Orphaned Posts › antiX-17 “Heather Heyer, Helen Keller” › Cannot create LVM in antiX 17
after creating physical volume and volume group, I’m still unable to create LVM
here is the error message
$ sudo lvcreate -n antix.rootfs -L 5G vg0
/dev/vg0/antix.rootfs: not found: device not cleared
`Aborting. Failed to wipe start of new LV.
bump
ModEdit: Please don’t – if someone knows, they will answer, you just have to wait, (no one gets paid here). 😉
It turns out that the lvm is stored in
[code]/dev/mapper/*volume_group_name-logical_volume_name[/code] ,
in my case it is
[code]/dev/mapper/vg0-antix.rootfs[/code]
Now if only there is a way to make lvcreate aware that the lvm is stored in
[code]/dev/mapper/*volume_group_name-logical_volume_name[/code]
instead of
[code]/dev/volume-group-name/logical-volume-name[/code]
(I’m not an lvm user)
check the lvcreate manpage
Maybe you just need to pass the path via the –name option
-n, –name LogicalVolume{Name|Path}
The name for the new logical volume.
Without this option a default names of “lvol#” will be generated where # is the LVM internal number of the logical volume.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |