On Tue, Jul 14, 2020 at 02:00:53PM +0200, Albretch Mueller wrote:
> On 7/9/20, Reco wrote:
> > More or less. The correct sequence is:
> > 1) cryptsetup luksOpen
> > 2) pvscan && vgchange -ay
> > 3) mount "/dev/lbrtchx-vg/home" "/media/abc123"
> >
> > And the unmounting should go in reverse:
> >
On 7/9/20, Reco wrote:
> More or less. The correct sequence is:
> 1) cryptsetup luksOpen
> 2) pvscan && vgchange -ay
> 3) mount "/dev/lbrtchx-vg/home" "/media/abc123"
>
> And the unmounting should go in reverse:
> 1) umount /media/...
> 2) vghcange -an ...
> 3) cryptsetup luksClose
thank you,
On Thu, Jul 09, 2020 at 08:28:24AM -0400, Albretch Mueller wrote:
> so, I should go?:
>
> mkdir -p "/media/abc123"
>
> mount "/dev/lbrtchx-vg/home" "/media/abc123"
More or less. The correct sequence is:
1) cryptsetup luksOpen
2) pvscan && vgchange -ay
3) mount "/dev/lbrtchx-vg/home"
so, I should go?:
mkdir -p "/media/abc123"
mount "/dev/lbrtchx-vg/home" "/media/abc123"
ot; "${_MED_MNT}" -r
> fi
>
> I am getting:
>
> mount: unknown filesystem type 'LVM2_member'
>
> what is it exactly I am not getting right?
You're trying to mount lvm2 physical volume which is never going to
work - it's not a filesystem.
What you should mount is a logical volume, i.e. that devices that
lvdisplay shows you.
Reco
%H%M%S)"
echo "// __ \$_MED_MNT: |${_MED_MNT}|"
mkdir --verbose --parents "${_MED_MNT}"
if [ -s "${_MED_MNT}" ]; then
echo "// __ \$_MED_MNT: |${_MED_MNT}| exists!"
echo "mount --verbose \""${_DEV_CR_CRYPTO}"\" \""${_MED_MNT}\"" -r"
date; time mount --verbose "${_DEV_CR_CRYPTO}" "${_MED_MNT}" -r
fi
I am getting:
mount: unknown filesystem type 'LVM2_member'
what is it exactly I am not getting right?
lbrtchx
] CDB: Read(10): 28 00 00 01 87 68 00 00 01 00
[13930.050256] end_request: I/O error, dev sr0, sector 400800
[13930.050267] Buffer I/O error on device sr0, logical block 100200
When trying to mount, I get:
$ sudo mount -t auto /dev/sdb7 /tmp/test
mount: unknown filesystem type 'LVM2_member
to mount, I get:
$ sudo mount -t auto /dev/sdb7 /tmp/test
mount: unknown filesystem type 'LVM2_member'
But it looks like I do have a LVM2 filesystem on this disk:
$ sudo pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 dhcp-67-183 lvm2 a- 148.81G 0
/dev/sdb7 Debian
8 matches
Mail list logo