|
Bugzilla – Full Text Bug Listing |
| Summary: | lvm2 + snapshots size limitation | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | robert spitzenpfeil <rs.opensuse> |
| Component: | Kernel | Assignee: | Lars Marowsky-Bree <lmb> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | 32bit | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
robert spitzenpfeil
2005-10-18 11:19:49 UTC
Your command above tells LVM to create a snapshot of /dev/vg00/data with a size 550m. Since you didn't supply a name for the snapshot, lvm defaulted to lvol0, but the creation failed when it found lvol0 already existed. Try this instead: lvcreate --size 550m -n snap1 --snapshot /dev/vg00/data -n snap1 tells lvm to name the snapshot snap1. Use a name not already used by an existing lv. ah! clever man ;-) been there, done that. the creation of that snapshot with / or without the --name option does work in 50% of the cases. and /dev/vg00/data is the ONLY logical volume on my system before snapshot creation. btw. in the beginning I was always trying to create a named snapshot called 'snap', which initially caused the problem. THEN I switched to letting 'lvcreate' asign the snapshot name automatically - which did not help as well. then I started to mess with chunk-size and snapshot-size a bit. as of now the status is this: small snapshots smaller 100MB will always be created no matter if named by me or lvcreate (given that the name is actually 'free' to asign). the larger the snapshot the more often the creation fails as described before. You filed the bug against SL10.0, but the version and the comment indicate that you actually used 9.3. What's correct? And can you reproduce on SL10.0? Thanks - that's right. the bug is within 9.3 the reason for me filing it with 10.0 is that there was no option for 9.3 whether it's reproducible within 10.0 .... can't tell yet. I'm not going to wrek my server just to test. probably will take a spare hdd for that, and that's not going to happen before this weekend. I've checked the lvm2 snapshot size limitation with 10.0 retail (32bit) The problem is exactly the same ;-( today I've had the chance to test it with SLES9 SP2 (kernel 2.6.5-7.191-smp) on a HP blade with the cciss driver. snapshotsizes of several gigabytes work nicely. this time evms just wouldn't work, but I don't care now. Adjusting OS and product. Can't really be a blocker because we already shipped ;-) |