Opened 13 years ago

Closed 8 years ago

#57 closed defect (fixed)

Clear existing LVM data

Reported by: skylar Owned by: skylar
Priority: major Milestone: 3.2.0
Component: Both Version:
Keywords: Cc:
Blocked By: Blocking:
Estimated Hours: 0 Total Hours: 0.50

Description (last modified by mmludin08)

It's interfering with autoliberate

On the Liberation test three fails when using completely new disk. So when zero'ing out LVM data, we should 1st check for the lvm table if exist or no. If it exist clear it, if not then don't.

Change History (15)

comment:1 Changed 13 years ago by skylar

  • Priority changed from blocker to minor

comment:2 Changed 12 years ago by skylar

  • Status changed from new to assigned

this works

comment:3 Changed 12 years ago by skylar

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 8 years ago by mmludin08

  • Component set to Both
  • Description modified (diff)
  • Estimated Hours set to 0
  • Priority changed from minor to major
  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 8 years ago by skylar

This appears to be what is failing:

root@node000:~# fdisk /dev/sda < /root/liberate/fdisk_lvm.input

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

switch off the mode (command 'c') and change display units to sectors (command 'u').

Command (m for help): Partition number (1-4): Hex code (type L to list codes): Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.

comment:6 Changed 8 years ago by skylar

In 3793:

use parted rather than fdisk to set lvm partition type (#57)

comment:7 Changed 8 years ago by skylar

  • Resolution set to fixed
  • Status changed from reopened to closed

In 3794:

merging in parted / lvm fix (#57)

comment:8 Changed 8 years ago by skylar

  • Status changed from closed to qa

comment:9 Changed 8 years ago by mmludin08

  • Status changed from qa to closed

comment:10 Changed 8 years ago by skylar

In 3795:

don't try to pull down fdisk_lvm.input (#57)

comment:11 Changed 8 years ago by skylar

In 3796:

merging in build_livecd fix for fdisk_lvm.input (#57)

comment:12 Changed 8 years ago by skylar

  • Status changed from closed to qa

comment:13 Changed 8 years ago by mmludin08

  • Milestone changed from Live CD to 3.1.2

comment:14 Changed 8 years ago by skylar

this is confirmed to work

comment:15 Changed 8 years ago by mmludin08

  • Status changed from qa to closed
Note: See TracTickets for help on using tickets.