Intermittent LVM errors after reboot - F41

2025-01-08 Thread Frank Bures
Hi, I have an LVM over two USB external disks that I use as a rolling backup. Sometimes, not every time, after reboot I see the following error: PV /dev/sdj online, VG vgroup incomplete (need 1).: 1 Time(s) However, everything is working as it should. Relevant info: root@ryzen:~# pvscan

Re: install fedora 40 raid1+lvm

2024-07-03 Thread Peter Boy
> Am 03.07.2024 um 18:34 schrieb François Patte > : > > Bonjour, > > Where can I find some details on the installation of fedora 40, I would like > to have raid1 arrays and lvm. For Fedora server you may have a look at: https://pboy.fedorapeople.org/InstGuideF33-Hetzn

install fedora 40 raid1+lvm

2024-07-03 Thread François Patte
Bonjour, Where can I find some details on the installation of fedora 40, I would like to have raid1 arrays and lvm. Thank you. -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél

Re: Unable to boot with LVM.

2022-04-24 Thread Tim via users
On Sun, 2022-04-24 at 10:49 -0700, Kevin Fenzi wrote: > If thats the case, I would expect them to mail list owners and > explain it... so far they have not done so. If I'd made that kind of mistake, I'd be too embarrassed to try again. -- uname -rsvp Linux 3.10.0-1160.62.1.el7.x86_64 #1 SMP T

Re: Unable to boot with LVM.

2022-04-24 Thread Kevin Fenzi
On Sat, Apr 23, 2022 at 09:39:13PM +0930, Tim via users wrote: > On Fri, 2022-04-22 at 16:35 -0600, Joe Zeff wrote: > > I was going on the assumption that the poster accidentally attached > > the wrong image. Do you have a reason to think otherwise? > > Well, you can ring their phone number and s

Re: Unable to boot with LVM.

2022-04-23 Thread Tim via users
On Fri, 2022-04-22 at 16:35 -0600, Joe Zeff wrote: > I was going on the assumption that the poster accidentally attached > the wrong image. Do you have a reason to think otherwise? Well, you can ring their phone number and see what happens? (Which could be a big bill.) I sort of wondered the sa

Re: Unable to boot with LVM.

2022-04-23 Thread Ed Greshko
On 23/04/2022 18:31, Patrick O'Callaghan wrote: Fair enough, but not everyone on this list will have a login for that page. As it happens I do but spam reporting being dealt with as a Fedora issue strikes me as odd. Agreed. It should be a separate function that anyone can easily  report a viol

Re: Unable to boot with LVM.

2022-04-23 Thread Patrick O'Callaghan
On Sat, 2022-04-23 at 07:44 +0800, Ed Greshko wrote: > tyyreOn 23/04/2022 06:29, Patrick O'Callaghan wrote: > > > > In that connection, the "report spam" link at the end of every post > > just takes one to the general pagure.io page. I don't see anything > > there directly related to spam reportin

Re: Unable to boot with LVM.

2022-04-22 Thread Ed Greshko
tyyreOn 23/04/2022 06:29, Patrick O'Callaghan wrote: In that connection, the "report spam" link at the end of every post just takes one to the general pagure.io page. I don't see anything there directly related to spam reporting. Perhaps a more directed link to a specific reporting page would be

Re: Unable to boot with LVM.

2022-04-22 Thread Joe Zeff
On 4/22/22 10:45, Kevin Fenzi wrote: Like the moderators of the list.:) I've removed them from subscribers and banned their email. I was going on the assumption that the poster accidentally attached the wrong image. Do you have a reason to think otherwise? __

Re: Unable to boot with LVM.

2022-04-22 Thread Patrick O'Callaghan
On Fri, 2022-04-22 at 09:45 -0700, Kevin Fenzi wrote: > On Fri, Apr 22, 2022 at 09:30:43AM -0600, Joe Zeff wrote: > > On 4/22/22 06:08, Maliga Saman via users wrote: > > > Any ideas? > > > > Yes: keep your porn off of this list.  I don't mind, but some folks > > will. > > Like the moderators of t

Re: Unable to boot with LVM.

2022-04-22 Thread Kevin Fenzi
On Fri, Apr 22, 2022 at 09:30:43AM -0600, Joe Zeff wrote: > On 4/22/22 06:08, Maliga Saman via users wrote: > > Any ideas? > > Yes: keep your porn off of this list. I don't mind, but some folks will. Like the moderators of the list. :) I've removed them from subscribers and banned their email.

Re: Unable to boot with LVM.

2022-04-22 Thread Joe Zeff
On 4/22/22 06:08, Maliga Saman via users wrote: Any ideas? Yes: keep your porn off of this list. I don't mind, but some folks will. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraprojec

Unable to boot with LVM.

2022-04-22 Thread Maliga Saman via users
Hi, I get an error while trying to setup LVM and boot from it. Please find the screenshot of the error attached with this email. Any ideas? Regards, Maliga Saman. Mobile: +91 9444281879___ users mailing list -- users@lists.fedoraproject.org To

Re: Hints, tips and advice on restoring data deleted (rm -rf !) from a Fedora 35 LVM ?

2021-11-24 Thread linux guy
I tried a bunch of tools. The results were interesting. I'll update the group when I get caught up with things. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Co

Re: Hints, tips and advice on restoring data deleted (rm -rf !) from a Fedora 35 LVM ?

2021-11-21 Thread Samuel Sieb
On 11/18/21 12:49, Frank wrote: On 2021-11-18 3:43 p.m., linux guy wrote: As you can read about in another thread, the home directories on one of my Fedora 35 computers were deleted using rm -rf.   These directories are located on an EXT4 LVM. How should I proceed to try to restore this

Re: Hints, tips and advice on restoring data deleted (rm -rf !) from a Fedora 35 LVM ?

2021-11-18 Thread Frank
On 2021-11-18 3:43 p.m., linux guy wrote: As you can read about in another thread, the home directories on one of my Fedora 35 computers were deleted using rm -rf.   These directories are located on an EXT4 LVM. How should I proceed to try to restore this data ? Thanks You could try some

Hints, tips and advice on restoring data deleted (rm -rf !) from a Fedora 35 LVM ?

2021-11-18 Thread linux guy
As you can read about in another thread, the home directories on one of my Fedora 35 computers were deleted using rm -rf. These directories are located on an EXT4 LVM. How should I proceed to try to restore this data ? Thanks ___ users mailing list

Re: Unusually long boot times with LVM Snapshots

2020-11-21 Thread Sreyan Chakravarty
On Sat, Nov 21, 2020 at 2:00 PM Chris Murphy wrote: > My experience is LVM thick (traditional) snapshots are slow. Where LVM > thin provisioning snapshots address quite allot faster. > Yes I just said that. -- Regards, Sreyan Chakravarty

Re: Unusually long boot times with LVM Snapshots

2020-11-21 Thread Chris Murphy
My experience is LVM thick (traditional) snapshots are slow. Where LVM thin provisioning snapshots address quite allot faster. Chris Murphy ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le

Fwd: Unusually long boot times with LVM Snapshots

2020-11-20 Thread Sreyan Chakravarty
On Fri, Nov 20, 2020 at 12:38 PM Samuel Sieb wrote: > > Edit /etc/lvm/lvm.conf, find the line in the "log {" section that has > "verbose = 0" and change it to "verbose = 1". Then run "dracut -f". > Reboot and at the grub menu, edit the boot

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Samuel Sieb
where in there. ___ What else can I do to debug this problem?? Edit /etc/lvm/lvm.conf, find the line in the "log {" section that has "verbose = 0" and change it to "verbose = 1". Then run "dracut -f". Reboot and at the g

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Sreyan Chakravarty
On Fri, 20 Nov 2020, 1:28 am Samuel Sieb, wrote: > > > That's the process in the initrd that tries to find and mount the root > filesystem, so that makes sense. The problem is somewhere in there. > ___ > > > What else can I do to debug this problem?? _

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Samuel Sieb
On 11/19/20 6:39 AM, Sreyan Chakravarty wrote: On Thu, Nov 19, 2020 at 6:43 PM Ed Greshko > wrote: If you run "systemd-analyze blame" it should tell you what process is taking the most time. These are the top 10 entries from "systemd-analyze blame":   1

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Sreyan Chakravarty
On Thu, Nov 19, 2020 at 6:43 PM Ed Greshko wrote: > If you run "systemd-analyze blame" it should tell you what process is > taking the most time. > These are the top 10 entries from "systemd-analyze blame": 1 3min 26.155s dracut-initqueue.service 2 38.577s udisks2.service 3 29

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Sreyan Chakravarty
On Thu, Nov 19, 2020 at 6:43 PM Ed Greshko wrote: > If you run "systemd-analyze blame" it should tell you what process is > taking the most time. > It seems the bug has existed since 2010: https://bugzilla.redhat.com/show_bug.cgi?id=604767 -- Regards, Sreyan Chakravarty __

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Sreyan Chakravarty
On Thu, Nov 19, 2020 at 6:43 PM Ed Greshko wrote: > The key to getting good answers is to ask good questions. > Would you be having any idea as to where to put the --skip-mappings option in LVM ? Taken from here: https://www.redhat.com/archives/linux-lvm/2016-January/msg00010.html -- R

Re: Unusually long boot times with LVM Snapshots

2020-11-19 Thread Ed Greshko
On 19/11/2020 18:54, Sreyan Chakravarty wrote: I use LVM with full disk encryption. I also use LVM snapshots, which have prevented me from completely bricking my entire system many times. Now the only problem is that the boot times when LVM snapshots are present are extremely long. I boot my

Unusually long boot times with LVM Snapshots

2020-11-19 Thread Sreyan Chakravarty
Hi, I use LVM with full disk encryption. I also use LVM snapshots, which have prevented me from completely bricking my entire system many times. Now the only problem is that the boot times when LVM snapshots are present are extremely long. I boot my machine, enter my encryption passphrase and

Re: Resizing LVM on VPS machine

2020-10-03 Thread Roberto Ragusa
On 2020-10-03 00:14, Alex wrote: Hi, I have a fedora32 install that was created by our VPS provider and they didn't allocate the entire 480GB SSD, but apparently just chose the default partitioning in fedora that only uses a 15GB root partition. Please show the output of the commands pvs, vgs,

Re: Resizing LVM on VPS machine

2020-10-02 Thread Roger Heflin
type "pvs" and see how big the /dev/sda2 pv is. It appears to be all of the disk right now. /dev/sda1 and /dev/sda2 are partitions. the rest are lv's inside a vg on the //dev/sda2(pv) in lvm. That would mean that you need lvresize current ones and/or lvcreate new new lv'

Resizing LVM on VPS machine

2020-10-02 Thread Alex
xtend to resize root, but I don't understand the proper syntax according to this doc: https://opensource.com/business/16/9/linux-users-guide-lvm Below is the fdisk output for the partition info and the fstab below. # fdisk -l Disk /dev/sda: 480 GiB, 515396075520 bytes, 1006632960 sectors Disk

Re: I had a bad drive in a LMV setup after using 'vgreduce --removemissing --force vg00' I cannot mount the LVM

2020-07-03 Thread Gordon Messmer
dundant across PVs.  It doesn't look like yours was. Can you describe your LVM configuration in more detail?  Why did you expect to be able to remove a disk and replace it? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe sen

I had a bad drive in a LMV setup after using 'vgreduce --removemissing --force vg00' I cannot mount the LVM

2020-07-02 Thread
I found instructions that resulted in failure to replace the bad drive. The 'bad' drive still works but the directions to add a new drive did not work. I shutdown the computer and unplugged the 'bad' drive. On rebooting I ran: vgreduce --removemissing --force vg00 I was not a

Re: LVM Merge hangs at 100%

2020-04-07 Thread Sreyan Chakravarty
Thanks On Tue, Apr 7, 2020 at 10:58 PM Samuel Sieb wrote: > On 4/7/20 4:58 AM, Sreyan Chakravarty wrote: > > I though Fedora KDE was an official image, are you saying that its not ? > > I don't see how that relates to what I said. The official images are > only released once for each release.

Re: LVM Merge hangs at 100%

2020-04-07 Thread Samuel Sieb
On 4/7/20 4:58 AM, Sreyan Chakravarty wrote: I though Fedora KDE was an official image, are you saying that its not ? I don't see how that relates to what I said. The official images are only released once for each release. There are unofficial respins done for the workstation live, but onl

Re: LVM Merge hangs at 100%

2020-04-07 Thread Sreyan Chakravarty
I though Fedora KDE was an official image, are you saying that its not ? On Tue, Apr 7, 2020 at 2:13 PM Samuel Sieb wrote: > On 4/6/20 9:52 PM, Sreyan Chakravarty wrote: > > Well I tried that it told me that I did not have enough space. > > > > The easiest option is use a distro which uses the u

Re: LVM Merge hangs at 100%

2020-04-07 Thread Samuel Sieb
On 4/6/20 9:52 PM, Sreyan Chakravarty wrote: Well I tried that it told me that I did not have enough space. The easiest option is use a distro which uses the updated version. I have no clue why Fedora a distro that lives on the bleeding edge does not update its ISO images. Because releasing

Re: LVM Merge hangs at 100%

2020-04-06 Thread Sreyan Chakravarty
Well I tried that it told me that I did not have enough space. The easiest option is use a distro which uses the updated version. I have no clue why Fedora a distro that lives on the bleeding edge does not update its ISO images. On Tue, Apr 7, 2020 at 3:53 AM stan via users wrote: > On Tue, 7 A

Re: LVM Merge hangs at 100%

2020-04-06 Thread Joe Zeff
On 04/06/2020 04:22 PM, stan via users wrote: Actually, I think you can, since the live images are fully functional in order to be installed. At least I have a memory of doing so years ago. After the ISO image is running, you should be able to run a dnf update for the lvm2 packages if you have a

Re: LVM Merge hangs at 100%

2020-04-06 Thread stan via users
On Tue, 7 Apr 2020 01:12:01 +0530 Sreyan Chakravarty wrote: > I got it by running > > lvconvert --version > > I can't update the ISO image now can I ? Actually, I think you can, since the live images are fully functional in order to be installed. At least I have a memory of doing so years ago

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-06 Thread Sreyan Chakravarty
on isn't marked as anything but an ext4 filesystem with > unreadable data, what do you expect the installer to do? You do realize that there is no way to get LVM on LUKS version 2 from the installer right ? All the LUKS volumes created by the installer will use LUKS 1. Fedora makes

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-06 Thread Sreyan Chakravarty
Even if I create an encrypted volume using the method I have described, there is no way I can use LUKS version 2. It will always use LUKS version 1. On Sun, Apr 5, 2020 at 11:40 AM Tim via users wrote: > On Sat, 2020-04-04 at 14:12 -0700, Gordon Messmer wrote: > > The checkbox you selected works

Re: LVM Merge hangs at 100%

2020-04-06 Thread Sreyan Chakravarty
I got it by running lvconvert --version I can't update the ISO image now can I ? Which means I have to use a completely different distro for LVM snapshots and merging. On Mon, Apr 6, 2020 at 10:21 PM stan via users < users@lists.fedoraproject.org> wrote: > On Mon, 6 Apr 2020

Re: LVM Merge hangs at 100%

2020-04-06 Thread stan via users
On Mon, 6 Apr 2020 17:53:13 +0530 Sreyan Chakravarty wrote: > The problem is with the LVM version that comes with the stock > install. This is the version: > > LVM Version: 2.03.05(2) > Library Version: 1.02.163 Where did you get this? My F31 has librarys /usr/lib64/libdevmappe

Re: LVM Merge hangs at 100%

2020-04-06 Thread stan via users
On Mon, 6 Apr 2020 11:52:15 +0530 Sreyan Chakravarty wrote: > Do you know how to install the latest version of Rawhide ? I mean from > where in the latest Anaconda installer do i select "Installation > source" ? You could get a snapshot of rawhide from the Fedora download page, https://www.hap

Re: LVM Merge hangs at 100%

2020-04-06 Thread stan via users
On Mon, 6 Apr 2020 11:17:35 +0530 Sreyan Chakravarty wrote: > The problem with Bugzilla is that there are no replies there at all. Yeah, that's a general issue with open source. If no one takes an interest and puts in the work, it doesn't get done. The Fedora maintainers tend to be very busy p

Re: LVM Merge hangs at 100%

2020-04-06 Thread Sreyan Chakravarty
The problem is with the LVM version that comes with the stock install. This is the version: LVM Version: 2.03.05(2) Library Version: 1.02.163 Driver Configuration: 4.40.0 Using a linux distro that uses a more recent version solves the problem. For me, I used ArcoLinux which uses a more recent

Re: LVM Merge hangs at 100%

2020-04-05 Thread Sreyan Chakravarty
Do you know how to install the latest version of Rawhide ? I mean from where in the latest Anaconda installer do i select "Installation source" ? On Mon, Apr 6, 2020 at 11:17 AM Sreyan Chakravarty wrote: > The problem with Bugzilla is that there are no replies there at all. > > On Mon, Apr 6, 20

Re: LVM Merge hangs at 100%

2020-04-05 Thread Sreyan Chakravarty
The problem with Bugzilla is that there are no replies there at all. On Mon, Apr 6, 2020 at 10:54 AM Sreyan Chakravarty wrote: > You think it may be a kernel bug ? It happens in Fedora, Ubuntu 19.10 does > not have this. > > On Mon, Apr 6, 2020 at 6:27 AM stan via users < > users@lists.fedorapro

Re: LVM Merge hangs at 100%

2020-04-05 Thread Sreyan Chakravarty
You think it may be a kernel bug ? It happens in Fedora, Ubuntu 19.10 does not have this. On Mon, Apr 6, 2020 at 6:27 AM stan via users wrote: > On Mon, 6 Apr 2020 03:30:23 +0530 > Sreyan Chakravarty wrote: > > > So you mean this is a problem with lvconvert itself ? > > I don't know that for su

Re: LVM Merge hangs at 100%

2020-04-05 Thread stan via users
On Mon, 6 Apr 2020 03:30:23 +0530 Sreyan Chakravarty wrote: > So you mean this is a problem with lvconvert itself ? I don't know that for sure since I am not familiar with lvconvert. But, the fact that it is hanging while doing its job suggests that it is a good place to start. > Giving up wai

Re: LVM Merge hangs at 100%

2020-04-05 Thread Sreyan Chakravarty
So you mean this is a problem with lvconvert itself ? On Mon, Apr 6, 2020 at 12:22 AM stan via users < users@lists.fedoraproject.org> wrote: > On Sun, 5 Apr 2020 12:56:35 -0400 > Sreyan Chakravarty wrote: > > > LVM merging from snapshots don't work. > > > &

Re: LVM Merge hangs at 100%

2020-04-05 Thread stan via users
On Sun, 5 Apr 2020 12:56:35 -0400 Sreyan Chakravarty wrote: > LVM merging from snapshots don't work. > > I have two logical volume - one is for the entire system and one is a > snapshot that I have created if I want to revert things if an upgrade > breaks them. [snip

LVM Merge hangs at 100%

2020-04-05 Thread Sreyan Chakravarty
LVM merging from snapshots don't work. I have two logical volume - one is for the entire system and one is a snapshot that I have created if I want to revert things if an upgrade breaks them. This is the output of *lvs* LV VG Attr LSize Pool Origin Data% Meta%

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Tim via users
On Sat, 2020-04-04 at 14:12 -0700, Gordon Messmer wrote: > The checkbox you selected works, obviously, but the simple solution > is to use the "encrypt my data" checkbox on the initial > "installation destination" screen. That box is the first and most > visible place to select encryption, so I wo

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Sreyan Chakravarty
configure LUKS first and then LVM. The installer can't > > handle that it seems, I have even opened a bug over here: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1820912 > > Why are you creating the luks partition before running the installer > instead of us

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Gordon Messmer
On 4/4/20 12:05 PM, Sreyan Chakravarty wrote: https://ask.fedoraproject.org/t/ananconda-cant-handle-lvm-on-luks-setup/6112/5?u=sreyan32 The question now is that can this information be added in the Wiki or docs somewhere so other new users won't have to suffer. The checkbox you sel

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Samuel Sieb
On 4/4/20 11:13 AM, Sreyan Chakravarty wrote: Yes but how do I configure LUKS first and then LVM. The installer can't handle that it seems, I have even opened a bug over here: https://bugzilla.redhat.com/show_bug.cgi?id=1820912 Why are you creating the luks partition before runnin

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Sreyan Chakravarty
Solution can be found here: https://ask.fedoraproject.org/t/ananconda-cant-handle-lvm-on-luks-setup/6112/5?u=sreyan32 On Sat, Apr 4, 2020 at 11:49 PM Sreyan Chakravarty wrote: > Is there any way to use the kickstart file in a local install ? I mean > lets say I boot up the Fedora 31 l

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Sreyan Chakravarty
my own problem, you can find the details here: https://ask.fedoraproject.org/t/ananconda-cant-handle-lvm-on-luks-setup/6112/5?u=sreyan32 The question now is that can this information be added in the Wiki or docs somewhere so other new users won't have to suffer. Let me know. Thanks. On Sa

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Sreyan Chakravarty
Is there any way to use the kickstart file in a local install ? I mean lets say I boot up the Fedora 31 live cd, then how would I start Anaconda with the Kickstart file ? On Sat, Apr 4, 2020 at 7:07 PM wrote: > > On Sat, 04 Apr 2020 18:51:03 +0530 Sreyan Chakravarty wrote: > > > What do you do a

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Sreyan Chakravarty
Yes but how do I configure LUKS first and then LVM. The installer can't handle that it seems, I have even opened a bug over here: https://bugzilla.redhat.com/show_bug.cgi?id=1820912 On Sat, Apr 4, 2020 at 11:19 PM Alexander Dalloz wrote: > Am 04.04.2020 um 17:41 schrieb Sreyan Cha

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Alexander Dalloz
Am 04.04.2020 um 17:41 schrieb Sreyan Chakravarty: I know how to do that. The question is why I can view them when I shouldn't be able to. Isn't it obvious that you have created individual LUKS encryption on top of each LVM instead of creating a LUKS device first and then LVM volum

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Robert Nichols
1    0   512M  0 part > ├─sda2                              8:2    0   512M  0 part > └─sda3                              8:3    0 930.5G  0 part >    ├─vgfedora-root-real            253:0    0   700G  0 lvm >    │ ├─vgfedora-root               253:1    0   700G  0 lvm

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Sreyan Chakravarty
Thanks, this is interesting. Let me try it out. On Sat, Apr 4, 2020 at 7:07 PM wrote: > > On Sat, 04 Apr 2020 18:51:03 +0530 Sreyan Chakravarty wrote: > > > What do you do after the logical volumes are setup ? Run the Anaconda > > installer ? > > No. We are doing network install specifying a kic

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Sreyan Chakravarty
0 512M 0 part > > └─sda3 8:3 0 930.5G 0 part > >├─vgfedora-root-real 253:00 700G 0 lvm > >│ ├─vgfedora-root 253:10 700G 0 lvm > >│ └─vgfedora-before_hibernate 253:30 700G 0 lvm &g

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Gordon Messmer
On 4/3/20 10:43 PM, Sreyan Chakravarty wrote: I have LUKS on LVM, that is LUKS is used when opening each LVM logical volume. I'm not familiar with that configuration, but if you have LUKS on LVM, then it seems perfectly normal that you'd be able to see the volume group structu

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Francis . Montagnac
On Sat, 04 Apr 2020 18:51:03 +0530 Sreyan Chakravarty wrote: > What do you do after the logical volumes are setup ? Run the Anaconda > installer ? No. We are doing network install specifying a kickstart file with the inst.ks= parameter to the kernel. See: https://docs.fedoraproject.org/en-US/f

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-04 Thread Robert Nichols
├─sda2                              8:2    0   512M  0 part └─sda3                              8:3    0 930.5G  0 part   ├─vgfedora-root-real            253:0    0   700G  0 lvm   │ ├─vgfedora-root               253:1    0   700G  0 lvm   │ └─vgfedora-before_hibernate   253:3    0   700G  0 lvm

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Sreyan Chakravarty
41 PM wrote: > >> >> >> On Sat, 04 Apr 2020 06:00:54 - "Sreyan Chakravarty" wrote: >> >> > The current Anaconda installer is unable to install Fedora to an >> > encrypted partition. Is there anyway I can have one big encrypted >> > partiti

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Sreyan Chakravarty
l Fedora to an > > encrypted partition. Is there anyway I can have one big encrypted > > partition, decrypt it, create a LVM and install Fedora. > > I don't know from the Anaconda GUI, but from a kickstart file it > works. > > Here is the template we use: > > part

Re: How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-04 Thread Francis . Montagnac
On Sat, 04 Apr 2020 06:00:54 - "Sreyan Chakravarty" wrote: > The current Anaconda installer is unable to install Fedora to an > encrypted partition. Is there anyway I can have one big encrypted > partition, decrypt it, create a LVM and install Fedora. I don't kn

How do I install Fedora 31 on LVM on LUKS configuration ?

2020-04-03 Thread Sreyan Chakravarty
The current Anaconda installer is unable to install Fedora to an encrypted partition. Is there anyway I can have one big encrypted partition, decrypt it, create a LVM and install Fedora. It seems I can't do that with the current Anaconda. If I have to use encryption and LVM what it do

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-03 Thread Sreyan Chakravarty
defaults,x-systemd.device-timeout=0 1 1 UUID=0450aaba-fa52-47cb-95e7-e818e8e6a9fe /boot ext4 defaults1 2 UUID=852E-5A7A /boot/efi vfat umask=0077,shortname=winnt 0 2 UUID=c0577d65-a0f0-4e6c-b2cf-4e945e03a826 none swap sw 0 0 I have LUKS

Re: Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-03 Thread Gordon Messmer
On 4/3/20 2:48 AM, Sreyan Chakravarty wrote: I just installed Fedora 31 on my laptop. I had created a volume group and logical volumes from the Anaconda installer itself. I had marked the checkbox for encrypting my fedora partition , and when booting I am asked my passphrase, so I thought every

Why can I view my encrypted lvm logical volumes without opening them with my passphrase?

2020-04-03 Thread Sreyan Chakravarty
512M 0 part └─sda3 8:30 930.5G 0 part ├─vgfedora-root-real253:00 700G 0 lvm │ ├─vgfedora-root 253:10 700G 0 lvm │ └─vgfedora-before_hibernate 253:30 700G 0 lvm └─vgfedora-before_hibernate-cow 253:2050G

Re: LVM, list home -

2020-03-26 Thread Bob Goodwin
On 2020-03-26 14:42, Roger Heflin wrote: you should be able to do exactly this: mkdir -p /mnt/home mount /dev/fedora_localhost-live/home /mnt/home cd /mnt/home ls -l ° Yes, that worked. DF shows: /dev/mapper/fedora_localhost--live-home  860G   25G  792G   3% /mnt/home And I can list the cont

Re: LVM, list home -

2020-03-26 Thread Bob Goodwin
On 2020-03-26 14:42, Roger Heflin wrote: you should be able to do exactly this: mkdir -p /mnt/home mount /dev/fedora_localhost-live/home /mnt/home cd /mnt/home ls -l ° Yes, that worked. DF shows: /dev/mapper/fedora_localhost--live-home  860G   25G  792G   3% /mnt/home And I can list the cont

Re: LVM, list home -

2020-03-26 Thread Roger Heflin
In lvm context this dm-1 is a magic device-mapper device/file that sets up a block-mapping to the underlying device that allows access to the blocks of the specific lv in the correct order (in this case home). It really acts just like /dev/sda1 does if there is a filesystem directly on /dev/sda1

Re: LVM, list home -

2020-03-26 Thread Roger Heflin
ot root7 Mar 26 05:16 swap -> ../dm-2 > > And that produces: > > [root@Workstation-1 fedora_localhost-live]# ls -al home -> ../dm-1 > ls: cannot access '-': No such file or directory > > I think I will give up on this tack. It just tends to justify my > avoiding LVM a

Re: LVM, list home -

2020-03-26 Thread Garry T. Williams
On Thursday, March 26, 2020 1:39:13 PM EDT Bob Goodwin wrote: > lrwxrwxrwx. 1 root root7 Mar 26 12:58 home -> ../dm-1 This indicates that the file "home" is a synbolic reference to the file (or directory) "../dm-1". [snip] > [root@Workstation-1 fedora_localhost-live]# ls -al home -> ../dm-1

Re: LVM, list home -

2020-03-26 Thread Bob Goodwin
root    7 Mar 26 05:16 swap -> ../dm-2 And that produces: [root@Workstation-1 fedora_localhost-live]# ls -al home -> ../dm-1 ls: cannot access '-': No such file or directory I think I will give up on this tack. It just tends to justify my avoiding LVM and the complexity it adds whi

Re: LVM, list home -

2020-03-26 Thread Roger Heflin
to access the home partition on it from this Fedora 31 system. I > can mount the drive /dev/sda2 and do lvscan, one of the few lv commands > I have in my noes from 2011. I usually select standard partitions when > installing to avoid this sort on confusion, I don't know why I have this > o

LVM, list home -

2020-03-26 Thread Bob Goodwin
installing to avoid this sort on confusion, I don't know why I have this one lvm system but it is there and it still boots if I want it, however it would be convenient to be able to see the file directly without shutting down and booting the other system from the boot menu. I have mounted /dev/sd

Re: Removing LVM (SOLVED - kind of)

2019-12-04 Thread Patrick O'Callaghan
On Wed, 2019-12-04 at 17:15 +0100, Roberto Ragusa wrote: > On 12/3/19 12:58 PM, Patrick O'Callaghan wrote: > > On Mon, 2019-12-02 at 12:44 -0600, Roger Heflin wrote: > > > it might be if you use dd to clear only the duplicate pv/lvm partition > > > header and then

Re: Removing LVM (SOLVED - kind of)

2019-12-04 Thread Roberto Ragusa
On 12/3/19 12:58 PM, Patrick O'Callaghan wrote: On Mon, 2019-12-02 at 12:44 -0600, Roger Heflin wrote: it might be if you use dd to clear only the duplicate pv/lvm partition header and then start with the pvcreate/vgextend/pvmove/vgreduce steps. I crossed my fingers and tried it, a

Re: Removing LVM (SOLVED - kind of)

2019-12-03 Thread Patrick O'Callaghan
On Mon, 2019-12-02 at 12:44 -0600, Roger Heflin wrote: > it might be if you use dd to clear only the duplicate pv/lvm partition > header and then start with the pvcreate/vgextend/pvmove/vgreduce > steps. I crossed my fingers and tried it, and it worked. Rather than removing LVM I'

Re: Removing LVM

2019-12-02 Thread Samuel Sieb
ither be exactly right, exactly wrong and you no longer have any data. Very scary. This is exactly why I don't want to use LVM. I don't understand it. The big problem here is that you cloned the drive and then had both copies available to the system. You're already in a very dang

Re: Removing LVM

2019-12-02 Thread Roger Heflin
it might be if you use dd to clear only the duplicate pv/lvm partition header and then start with the pvcreate/vgextend/pvmove/vgreduce steps. On Mon, Dec 2, 2019 at 12:39 PM Patrick O'Callaghan wrote: > > On Mon, 2019-12-02 at 12:16 -0600, Roger Heflin wrote: > > The easiest

Re: Removing LVM

2019-12-02 Thread Patrick O'Callaghan
On Mon, 2019-12-02 at 12:16 -0600, Roger Heflin wrote: > The easiest way to move an vg to a new device is partitioning the new > device, create a pv on the correct device, and then add that device to > the vg and then do a pvmove to move the data to the new device. Once > done you remove the devic

Re: Removing LVM

2019-12-02 Thread Patrick O'Callaghan
On Mon, 2019-12-02 at 18:12 +, Alasdair G Kergon wrote: > On Mon, Dec 02, 2019 at 12:46:57PM +, Patrick O'Callaghan wrote: > > Anyway, I cloned each partition using dd, but of course that also > > cloned the LVM stuff, including the LVM identifiers > > How can I b

Re: Removing LVM

2019-12-02 Thread Roger Heflin
you do that it is best to only do up to were the 2nd partition starts and deal with the 2nd partition with the above lvm commands. On Mon, Dec 2, 2019 at 12:00 PM Patrick O'Callaghan wrote: > > On Mon, 2019-12-02 at 11:19 -0600, Roger Heflin wrote: > > > > Doing just about

Re: Removing LVM

2019-12-02 Thread Alasdair G Kergon
On Mon, Dec 02, 2019 at 12:46:57PM +, Patrick O'Callaghan wrote: > Anyway, I cloned each partition using dd, but of course that also > cloned the LVM stuff, including the LVM identifiers > How can I blow away LVM on the cloned drive without having to start > again fro

Re: Removing LVM

2019-12-02 Thread Patrick O'Callaghan
y wrong and you no longer have any data. Very scary. This is exactly why I don't want to use LVM. I don't understand it. > I don't think fdisk will prevent you from removing the partitions, but > you will need a reboot or manually delete the live partitions mappings > to

Re: Removing LVM

2019-12-02 Thread Roger Heflin
do "dmsetup table" and see if there is a mapping to the device you want to get rid of. If there is no mapping you may be able to exclude the device with a filter in /etc/lvm/lvm.conf or you may have to used the really dangerous commands to clear the data of the disk. Doing just about a

Re: Removing LVM

2019-12-02 Thread Patrick O'Callaghan
On Mon, 2019-12-02 at 21:05 +0800, Ed Greshko wrote: > > How can I blow away LVM on the cloned drive without having to start > > again from scratch? > > > > Are you looking for commands like lvremove and pvremove? I'd already looked at those. lvremove takes an L

Re: Removing LVM

2019-12-02 Thread Ed Greshko
On Mon, Dec 2, 2019, 20:47 Patrick O'Callaghan wrote: > I'm in the process of trying to clone an existing drive to a new SSD. > The existing drive was created by a fresh F31 install, which used LVM > for root and swap. I normally turn this off when installing but didn&#x

Removing LVM

2019-12-02 Thread Patrick O'Callaghan
I'm in the process of trying to clone an existing drive to a new SSD. The existing drive was created by a fresh F31 install, which used LVM for root and swap. I normally turn this off when installing but didn't this time, either because it's not possible or because I couldn't f

F29 Raid 5-Luks-LVM malfunction

2019-09-21 Thread Whenow via users
op /dev/md127" to stop the array with 1 disk and "mdadm --assemble /dev/md127" to start the array with all 3 disks RAID is recognized but now I'm stuck. What next for opening luks and then lvm? Thanks.___ users mail

  1   2   3   4   5   6   >