Re: man resize2fs

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

 



On 06/17/2013 04:55 PM, Frank Murphy wrote:
> Did:
> ddrescue -r 1 -n /dev/sdc (250gb) /dev/sdb (1tb)
> /dev/sdc1 is luks
> 
> man resize2fs isn't so clear for me how to expand the 
> /dev/sdd1  (250gm) partition to fill the whole tb.

...I suppose you are copying from c to d (and not from c to b)...

Be careful:

you have to

- expand the partition sdd1
- expand the luks mapping on sdd1
- expand the filesystem on the luks mapping

Maybe you did not start this operation in the right way.
I would have created a big sdd1, created a new luks on sdd1 and then copied the fileystem
with dd from the old luks to the new one (this means decryption+encryption, but is is fast
on modern CPUs with AESNI).
Finally, I would have resize2fs'ed the new filesystem.


-- 
   Roberto Ragusa    mail at robertoragusa.it
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux