Bug 828592
Summary: | cannot create Volume Group names longer than 16 characters | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gerry Reno <greno> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-12 15:50:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gerry Reno
2012-06-04 23:50:22 UTC
Came back to this and found that the problem was rooted in anaconda restricting the Volume Group names to only 16 characters. Our machine names are all 13 characters long and when you add vg_ as prefix the Volume Group default name presented is already 16 characters long. This made it appear like you could not edit the field. On previous installations we have Volume Group names that are much longer than 16 characters. The Volume Group name field should not be so narrowly restricted. . The code that limits the length of input to these text entries (vgname, lvname) to 16 characters has been there for more than 10 years. Your only option for using longer names is kickstart. This length limitation will not be present in F18. Maybe that's how these machines got the longer Volume Group names because we installed all our servers using kickstart. Another problem is see with names is this: I enter a VG name: vg_renog11-1 When it gets created it looks like this: /dev/mapper/vg_renog11--1-lv00 Why does the installer always add extra hyphen? . (In reply to comment #3) > I enter a VG name: vg_renog11-1 > > When it gets created it looks like this: /dev/mapper/vg_renog11--1-lv00 > > Why does the installer always add extra hyphen? lvm (or device-mapper) does that. They have to escape the dash since the dash has special meaning for lvm device names (delineating vg name from lv name). |