[Linux-cluster] Howto? Remove volumes

Bryn M. Reeves breeves at redhat.com
Fri Oct 26 15:44:59 UTC 2007


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

isplist at logicore.net wrote:
> Reference removed by going to the real path;
> 
> Simlink path was;
> /sys/block/sda/~device/delete
> Real path was;
> device -> ../../devices/pci0000:00/0000:00:11.0/host0/target0:0:0/0:0:0:0
> 
>  From within real path;
> echo 1 > /sys/block/sda/device/delete

Really weird! Do you actually have the "~" character in the path name
that appears in /sys/block/sda?

I'm wondering if this is the cause of the problem since the shell might
be expanding that to be the path to the home directory of a user named
"device" (just a hunch - could be total nonsense!).

> That worked. I thought I tried that earlier but perhaps I didn't. 
> Thanks much for the help.

No problem, glad it's working now!

Cheers,
Bryn.

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

iD8DBQFHIgt76YSQoMYUY94RAjHDAKDTGUQSxrh9UO3F2OToOHp+Y9Nc2wCgjm7s
5WIVPbGjUD7nnfz6TVCcRtw=
=gHVm
-----END PGP SIGNATURE-----




More information about the Linux-cluster mailing list