Re: Converting to EXT4 on encrypted lvm

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

 



On Wed, Jul 01, 2009 at 13:05:09 -0600,
  "Andrig T. Miller" <andrig.t.miller@xxxxxxxxx> wrote:
> After upgrading to Fedora 11 x86_64, I started to look into converting
> to EXT4 from EXT3.
> 
> My / partition is an lvm that is encrypted (I do have a separate /boot).
> 
> I tried following the instructions using tune2fs -O
> extents,uninit_bg,dir_index /dev/sda2 (my / device and /boot is
> /dev/sda1).
> 
> Finally, I just booted by changing /etc/fstab to specify ext4, which
> works fine, but from reading the various instructions, I won't have
> the new features turned on unless I am able to use tune2fs
> successfully.

You have to point to the block device your file system is on, not the disk
partition. I have used tune2fs on encrypted partitions and the device
is /dev/mapper/luks-someluksuuid . In your case you need to find the lvm
device name used for the file system. I don't know how those look, but
I would expect a device mapper entry for it, so /dev/mapper would be a
good place to look. You'll have a luks entry there as well, but you will
not want to use it as that is the device that lvm is on, not a device
provided by lvm.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux