lvm2.init 323 B

1234567891011121314
  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009 Stefan Monnier
  3. START=15
  4. start () {
  5. mkdir -p /tmp/lvm/cache
  6. /sbin/lvm vgscan --ignorelockingfailure --mknodes || :
  7. /sbin/lvm vgchange -aly --ignorelockingfailure || return 2
  8. }
  9. stop () {
  10. mkdir -p /tmp/lvm/cache
  11. /sbin/lvm vgchange -aln --ignorelockingfailure || return 2
  12. }