I use LVM on top of LUKS.
My entire root file system is on a logical volume. I have no seperate home
or swap partitions.
I would like to know how can I clone this logical volume to my external
I have seen commands like :
dd if=/dev/vg/root_lv of=/mnt/exthdd bs=64k conv=noerror,sync
I have a couple of questions about this:
1) Why use noerror and sync?
noerror might give me a corrupted image and sync is just going to increase
the size of my image with padding.
Why use them?
2) What is rationale behind block size?
Will using 4M block size instead of 64K give me a different image? I need
my image to be an EXACT COPY.
Need your help.
I have cloned my original root LVM, and then migrated to the newer thin
LVMs using partclone.
Both backup and restore went off without causing any problems.
But when I am now trying to boot into my system, it asks for the encryption
LUKS passphrase but after that I am getting:
dracut-initqueue: Warning: dracut-initqueue timeout -
starting timeout scripts
I have not changed anything. Even my logical volume name is the same as
These are the backup and restore commands that I have used from the Fedora
(Creating the backup)
# partclone.ext4 -c -s /dev/vgfedora/fedora | gzip -c --best >
(Restoring the backup)
# gzip -c -d /run/media/externalhdd/fedora.tar.gz | partclone.ext4
-r -o /dev/vgfedora/fedora
These commands were run as root from Fedora live environment and prior to
taking my backup I had set my logical volume to read-only via:
# lvchange -pr vgfedora/fedora
This is my current volume group and logical volumes:
LV VG Attr LSize Pool Origin Data% Meta% Move Log
fedora vgfedora Vwi-a-tz-- 700.00g pool00 16.61
pool00 vgfedora twi-aotz-- 929.75g 12.50 16.61
VG #PV #LV #SN Attr VSize VFree
vgfedora 1 2 0 wz--n- 929.99g 8.00m
This is my /etc/fstab:
/dev/mapper/vgfedora-fedora / ext4
defaults,x-systemd.device-timeout=0 1 1
UUID=4d112d8e-080d-44f2-8962-9c13f20a7885 /boot ext4
defaults 1 2
UUID=041A-E511 /boot/efi vfat
defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
/fedora.swap none swap defaults 0 2
I have not changed the /etc/fstab after the migration since nothing has
/dev/mapper/vgfedora-fedora still exists. The only difference is that it is
a thin LVM volume.
This is my GRUB_CMDLINE:
The UUID of the LUKS encryption is still the same, as I can confirm from
# ll /dev/disk/by-uuid/
# lrwxrwxrwx. 1 root root 10 Nov 24 03:38
2ec7f1ae-6f9b-4896-a7b2-be7809e9d2f4 -> ../../sda3
I don't know what else I have to change, or what is going wrong. Grub is
asking for the password for LUKS and is setting up the encrypted partition,
but after that nothing happens.
I guess it is not able to load the root logical volume.
Do I have to re-generate my initramfs ? I didn't think that would be
necessary since the LVM thin tools were already installed.
Please let me know if any other info is required from my side.
Need some help as I am unable to use my laptop.
Since upgrading to Fedora 33, I am having some problems accessing files
on NFS shares. I should say first that, immediately after the upgrade,
the shares would not mount at all. I was getting the error:
mount.nfs4: Operation not permitted when mounting NFS device
even when attempting to mount manually. Eventually, I found some info
online that suggested mounting manually as root, which created some
symlink or other. After that, the shares would mount automatically at boot.
However, now, as I said, I have problems accessing files on said shares.
The directory ~/files/ is an NFS mount from a server running CentOS 7.
My LyX user directory is at ~/files/config/lyx/ (symlinked from
~/.lyx/). LyX refuses to start, blocking at a call to
lockf(fd, F_LOCK, 0) at support/filetools.cpp, during startup. (I
believe that fd here points at a file on the NFS share.) I can
successfully start LyX via:
lyx -userdir ~/tmp/lyx
say. I can then restart LyX with the same command and all is well. I can
also start it with
lyx -userdir ~/files/lyxnew/
where that is a *non-existent* directory on the NFS share. In that case,
LyX goes through its configuration process and starts normally. However,
if I then attempt to run that same command again, LyX does not start.
Also, if ~/files/lyxnew/ does exist, then LyX will not start, even if it
I am seeing a similar problem with Libre Office. I can starti fine, but
if I then attempt to open a file from ~/files/, Libre Office freezes. It
does not matter when it is ODT or ODS, say. I have not seen the problem
in other programs, but I only upgraded yesterday.
I am guessing that there is something wrong with the NFS configuration.
But I did not change anything myself.
I wanted to remove all LibreOffice components so I tried the following
sudo dnf remove -y @libreoffice
This resulted in:
No packages marked for removal.
This was strange since the group had no packages in it.
Why is that ?
Just to confirm I installed the LibreOffice group once again via:
sudo dnf install -y @libreoffice
And that resulted in:
Why is there a blank group of LibreOffice ?
Why aren't the required packages in it ?
After upgrade my Fedora from 32 to 33 I found Meta key in the
gnome-terminal works strange. Looks like now the gnome-terminal
recognizes Alt key as Meta key. Everywhere in the system Win key is
the Meta key and in the gnome-terminal only Alt key is the Meta key. I
see it because before Win+Backspace deleted the whole word, but now it
deletes just one symbol and Alt+Backspace deletes the whole word. Does
anybody know how to return it to previous behavior?
What is the best way to convert an HTML file to PDF. I have a two page
report in HTML form that I want to change to PDF. I can scan a printed
copy but I would like to convert the HTML file I received to PDF.
LibreOffice reformat it into a four page document, I would prefer to
keep the original two page style.
Bob Goodwin - Zuni, Virginia, USA
FEDORA-32/64bit LINUX XFCE Fastmail POP3
Have been working this on the BackupPC users mailing list, but it's
looking more like a general problem in F33's Samba utility, 'smbclient.'
BackupPC is a backup server package that uses Samba, rsync, and other
protocols to backup clients, including Windows PC's. Basically, it runs
a command like this for a SMB backup of a PC:
/usr/bin/smbclient \\\\new-pelican\\C\$ -U backup -E -d 2 -c tarmode\
full -Tc -
Output is piped to BackupPC utilities that unpack and index the backup,
and do other housekeeping
My backups have consistently failed since my upgrade to F33 (were
working without problems for years before, and most recently on F32).
Looking closely, it appears 'smbclient' is crashing after passing
exactly 47 files. (BackupPC then quits after data stops coming in.)
I've run this command at the command-line; it runs for a few seconds
then reports a core dump. Gnome shell then prompted me to file a
bugzilla, which I have done.
samba-client: remove_do_list_queue_head(): smbclient killed by SIGSEGV")
Anybody have further suggestions, please?
Tim Evans |5 Chestnut Court
443-394-3864 |Owings Mills, MD 21117
I have a Lenovo Yoga X1 (2nd gen) with Intel graphics, running GNOME
(fully up to date). Recently, the screen rotation lock control in the
system menu (drop-down in the upper right corner) disappeared and the
screen stopped auto-rotating. I had been running in Xorg mode because
certain Zoom features don't work under Wayland. At some point, I
switched to Wayland mode and the control reappeared and auto-rotation
started working. That worked for a while, but then the control
disappeared again. I switched back to Xorg mode and the control is
Anyone have any idea what's going on and/or how I can get consistent
Thanks for any hints.
School of Mathematical and Statistical Sciences
mjs AT clemson DOT edu
I've been using Spotify for the last year (via Flatpak) and it's been
working perfectly fine (not a single crash). I'm not fond on using
snaps, flatpaks or appimages unless really necessary but at the time I
installed it the general consensus was that Flatpak (at least for
Spotify) was the best option in Fedora.
I'm migrating from F31 to F33 soon and was wondering how's the
Negativo17 package these days? Or should I stick to the Flatpak?
I know there may be some dependency collisions between RPM Fusion and
Negativo17 but I think Spotify would be the only package I'll be using
from Negativo17 (with repo disabled afterwards except for updates).
I am confused about whether I should use TRIM or DISCARD on my laptop.
I use LVM on top of LUKS and I do make frequent use of snapshots. Merging
them to my root volume.
I have a regular HDD and not a SSD.
Will enabling TRIM and DISCARD help me?
If so, how do I do that ? I have already tried enabling:
in /etc/lvm/lvm.conf and then dracut -f
But fstrim -v / still fails with :
fstrim: /: the discard operation is not supported
So how do I enable it in Fedora32 ?