Russ Thompson on 13 May 2013 10:57:21 -0700


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

Re: [PLUG] Moving user accounts - update


IMO, all of this is unnecessary when recovering sudo.  The standard recovery mode will suffice, no need to recover from CD and create more work for yourself :)

- Russ


On Mon, May 13, 2013 at 1:48 PM, Rich Freeman <r-plug@thefreemanclan.net> wrote:
On Mon, May 13, 2013 at 1:38 PM, Eric H. Johnson
<ejohnson@camalytics.com> wrote:
>
> It is setup with LVM but no raid, which may explain why I could not see the drive.
>

In that case, when booting from CD you need to run:
pvscan
lvscan
lvs   -  note logical volume names
lvchange -a y vgname/lvname1 vgname/lvname2 ...

Now your logical volumes should show up and they can be mounted wherever.

When you're done unmount the volumes then run the lvchange command but
changing the "y" to a "n" to deactivate the volumes.  That ensures all
data is flushed to disk.  Normally your distro does this automatically
(or it at least syncs, which is probably about as good).

lvs in general has useful output.  The a attribute means that it is
active (and shows up in /dev).  The o attribute means that it is in
use.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug