[clue-tech] mount second hard drive
David L. Willson
DLWillson at TheGeek.NU
Wed Jul 16 10:44:54 MDT 2008
David likes Bob. Bob brings fun projects, and beer. :-)
David is letting Dave be the heavy on this one, and learning stuph for
next time. :-)
On Wed, 2008-07-16 at 09:54 -0600, Bob Meetin wrote:
> 'likes' is sooooo overused. 'tolerate' comes to mind unless of course
> you're talking beer, i.e. imported generic BEER in a white can with 12
> oz in size 48 font.
>
> I reran the commands and recleansed the output. When I used 'script'
> yesterday it dumped a load of control characters into the output which
> although I mostly cleaned it up it clouded the output.
>
> *Without the external disk mounted:*
>
> root at syncsync:~# vgscan --mknodes
> Reading all physical volumes. This may take a while...
> No volume groups found
> No volume groups found
>
> *Here I connected the external disk via USB:*
>
> root at syncsync:~# vgscan --mknodes
> Reading all physical volumes. This may take a while...
> Found volume group "VolGroup00" using metadata type lvm2
>
> root at syncsync:~# vgscan
> Reading all physical volumes. This may take a while...
> Found volume group "VolGroup00" using metadata type lvm2
>
> root at syncsync:~# ls -l /dev/mapper
> total 0
> crw-rw---- 1 root root 10, 63 2008-07-16 02:43 control
> brw-rw---- 1 root disk 254, 0 2008-07-16 09:40 VolGroup00-LogVol00
> brw-rw---- 1 root disk 254, 1 2008-07-16 09:40 VolGroup00-LogVol01
>
> root at syncsync:~# lsmod | grep dm_mod
> dm_mod 62660 5 dm_mirror,dm_snapshot
>
> root at syncsync:~# vgchange -a y
> 2 logical volume(s) in volume group "VolGroup00" now active
>
> root at syncsync:~# ls -l /dev/mapper
> total 0
> crw-rw---- 1 root root 10, 63 2008-07-16 02:43 control
> brw-rw---- 1 root disk 254, 0 2008-07-16 09:40 VolGroup00-LogVol00
> brw-rw---- 1 root disk 254, 1 2008-07-16 09:40 VolGroup00-LogVol01
> root at syncsync:~#
>
> -Bob
>
>
> David L. Anselmi wrote:
> > Bob Meetin wrote:
> >> 1) David got his beer and then some...
> >
> > You let him off without fixing your LVM problem? No wonder he likes
> > you ;-)
> >
> >> root at syncsync:/bin# df
> >> Filesystem 1K-blocks Used Available Use% Mounted on
> > [...]
> >> lrm 972280 38684 933596 4%
> >> /lib/modules/2.6.24-19-generic/volatile
> >
> > 2.6.24 is plenty good.
> >
> >> root at syncsync: /binroot at syncsync:/bin# vgscan
> >> Reading all physical volumes. This may take a while...
> >> Found volume group "VolGroup00" using metadata type lvm2
> >
> > So this part worked.
> >
> >> root at syncsync: /binroot at syncsync:/bin# vgchange -a y
> >> /proc/misc: No entry for device-mapper found
> >> Is device-mapper driver missing from kernel?
> >
> > To answer this do "lsmod | grep dm_mod". If you don't get any output
> > try "modprobe dm_mod". Then try the vgscan/vgchange commands again.
> >
> > If vgchange works after loading the module you should find the things
> > you can mount in /dev/mapper.
> >
> > Dave
> >
> >
> >
>
>
More information about the clue-tech
mailing list