Re: Breaking LVM (on purpose)

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

 



On Thu, 3 Jan 2019 at 18:13, Roger Heflin <rogerheflin@xxxxxxxxx> wrote:

>
> On Thu, Jan 3, 2019 at 11:01 AM Chris Adams <linux@xxxxxxxxxxx> wrote:
> >
> > Once upon a time, Ian Malone <ibmalone@xxxxxxxxx> said:
> > > Does anyone have suggestions for easily simulating a missing volume in
> > > LVM on bare metal?
> >
> > Actually make a volume go missing?  The easiest way to do that would be
> > USB volumes (thumb drives), and just yank the drive out.  Even if you
> > don't want to physically pull the drive, I think you can tell a USB
> > device to power down via a sysfs attribute, so that might be sufficient.
> >
>

> echo 1 > /sys/block/sdX/device/delete
>
> And the device should disappear.> > --

Thanks both, I'd thought about a USB drive, but didn't have one to
hand at the time that I didn't mind messing up. The sysfs route sounds
a bit safer though, and I can probably find one I don't need any more.

-- 
imalone
http://ibmalone.blogspot.co.uk
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux