[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Howto? Remove volumes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

isplist logicore net wrote:
> Ya, I know :). I should have done it before but I was testing stuff and it 
> just happened to work out as I needed it so left it that way.
> 
>> but "echo 1 /sys/block/sda/device/delete" should get rid of it.
> 
> There is no delete file in that directory. There is a delete file in a 
> subdirectory of this called device however.

That's where it should be - /sys/block/<name>/device/delete.

> I was wondering if I could just delete the references in /etc/lvm perhaps?

No - that's just a cache reference. As long as the /dev/sd* nodes exist
(and the corresponding /sys/block/sd* entries), the next lvm scan will
pick the devices up and re-add them to the cache.

You could delete the device nodes and/or filter them via lvm.conf, but
since you want them gone (and have masked them from the SAN), you may as
well just delete them.

Regards,
Bryn.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHIgK76YSQoMYUY94RAg7TAJ9SYfQzNOSLMmhpbSrp7WPMwFC5+ACfRtPO
fDg7T0KupxmGPxMh6fihBLo=
=/0Io
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]