On Thursday 15 June 2006 14:16, Neil Bothwick wrote:
> On Thu, 15 Jun 2006 12:59:35 +0200, Bo Ørsted Andresen wrote:
> > > filter = [ "a|^/dev/hda|", "r|.*|" ]
> >
> > No change.
>
> Are you sure that's the only filter command in the file? Only the first
> one is used.
>
> It wouldn't hurt to an "r|/dev/cdrom|" to the filter.

# grep -v -r '^$\|^\ *\t*#' /etc/lvm/lvm.conf
devices {
    dir = "/dev"
    scan = [ "/dev" ]
        filter = [ "a|^/dev/hda|", "r|.*|" ]
    cache = "/etc/lvm/.cache"
    write_cache_state = 1
    sysfs_scan = 1
    md_component_detection = 1
}
log {
    verbose = 0
    syslog = 1
    overwrite = 0
    level = 0

    indent = 1
    command_names = 0
    prefix = "  "
}
backup {
    backup = 1
    backup_dir = "/etc/lvm/backup"
    archive = 1
    archive_dir = "/etc/lvm/archive"

    retain_min = 10
    retain_days = 30
}
shell {
    history_size = 100
}
global {

    umask = 077
    test = 0
    activation = 1
    proc = "/proc"
    locking_type = 1
    locking_dir = "/var/lock/lvm"
}
activation {
    missing_stripe_filler = "/dev/ioerror"
    mirror_region_size = 512
    reserved_stack = 256
    reserved_memory = 8192
    process_priority = -18
}
# vgchange -a y
  /dev/cdrom: open failed: No medium found
  Attempt to close device '/dev/cdrom' which is not open.
  7 logical volume(s) in volume group "vg" now active

-- 
Bo Andresen

Attachment: pgpJ5yKbkiTjr.pgp
Description: PGP signature

Reply via email to