Is it possible to repair root partition, LLVM based and protected with LUKS?How do I resize an encrypted LVM to install another copy of Ubuntu?How to use fsck in Ubuntu?Shut down laptop while booting after update and now can't use itSuperblock invalid, disk in useHow do I move/home folder to a luks encrypted external drive?the root filesystem requires a manual fsckHow to force fix file systems during bootDualbooting Ubuntu 18.04 and Windows 10: manual fsck repeatedly required on Ubuntu partition

Transiting through Switzerland by coach with lots of cash

What cluster of stars is this with a "dark donut" to one side?

"Es gefällt ihm." How to identify similar exceptions?

How to Skip One Bullet in ITEMIZE?

A sentient carnivorous species trying to preserve life. How could they find a new food source?

Why do previous versions of Debian packages vanish in the package repositories? (highly relevant for version-controlled system configuration)

Remove one or more fields, delimited by a "-", at end of line

Who became a professor?

Is cloning illegal in the Star Trek: TNG continuity?

Was Wayne Brady considered a guest star on the original "Whose Line Is It Anyway?"

Member initialization for non-copyable variable in C++17

How does Donald Trump manage to remain so popular over a rather long period of time?

Which accidental continues through the bar?

Is having your hand in your pocket during a presentation bad?

The work of mathematicians outside their professional environment

80's-90's movie with a brains-powered spaceship

Over powered shield?

What is the good path to become a Judo teacher?

Is there a difference between historical fiction and creative non-fiction?

Difference between $HOME and ~

Scalar `new T` vs array `new T[1]`

Does the Creighton Method of Natural Family Planning have a failure rate of 3.2% or less?

Why didn't he give Sam the antidote?

What if a quote contains an error



Is it possible to repair root partition, LLVM based and protected with LUKS?


How do I resize an encrypted LVM to install another copy of Ubuntu?How to use fsck in Ubuntu?Shut down laptop while booting after update and now can't use itSuperblock invalid, disk in useHow do I move/home folder to a luks encrypted external drive?the root filesystem requires a manual fsckHow to force fix file systems during bootDualbooting Ubuntu 18.04 and Windows 10: manual fsck repeatedly required on Ubuntu partition






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0















I have following partitions configuration:



NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 447.1G
├─sda1 ext2 487M /boot
├─sda2 1K
└─sda5 crypto_LUKS 446.7G
└─sda5_crypt LVM2_member 446.7G
├─S--1--vg-root ext4 318.8G /
└─S--1--vg-swap_1 swap 127.9G [SWAP]


As you can see, I have LUKS protected Ubuntu system, and the entrypted volume uses LLVM.



I have errors in filesystem due to electricity supply interruption; when I run fsck, I see a lot of error messages:



sudo fsck -nf /
Inodes that were part of a corrupted orphan linked list found. Fix? no
/dev/mapper/S--1--vg-root: ********** WARNING: Filesystem still has errors **********


Of course, I can not fix the errors while partition is loaded. So, I reboot in system recovery mode, open single user root shell and run:



umount /dev/mapper/S--1--vg-root
sudo fsck -f /


Now fsck runs, however, it can not find any errors. When I reboot and run fsck again from fully loaded system, it still "sees" the same error.



What is the reason of such behavior? Is it possible to fix file system errors in such configuration (when LLVM volume is protected with LUKS)?










share|improve this question
























  • See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

    – oldfred
    Apr 17 at 12:33

















0















I have following partitions configuration:



NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 447.1G
├─sda1 ext2 487M /boot
├─sda2 1K
└─sda5 crypto_LUKS 446.7G
└─sda5_crypt LVM2_member 446.7G
├─S--1--vg-root ext4 318.8G /
└─S--1--vg-swap_1 swap 127.9G [SWAP]


As you can see, I have LUKS protected Ubuntu system, and the entrypted volume uses LLVM.



I have errors in filesystem due to electricity supply interruption; when I run fsck, I see a lot of error messages:



sudo fsck -nf /
Inodes that were part of a corrupted orphan linked list found. Fix? no
/dev/mapper/S--1--vg-root: ********** WARNING: Filesystem still has errors **********


Of course, I can not fix the errors while partition is loaded. So, I reboot in system recovery mode, open single user root shell and run:



umount /dev/mapper/S--1--vg-root
sudo fsck -f /


Now fsck runs, however, it can not find any errors. When I reboot and run fsck again from fully loaded system, it still "sees" the same error.



What is the reason of such behavior? Is it possible to fix file system errors in such configuration (when LLVM volume is protected with LUKS)?










share|improve this question
























  • See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

    – oldfred
    Apr 17 at 12:33













0












0








0








I have following partitions configuration:



NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 447.1G
├─sda1 ext2 487M /boot
├─sda2 1K
└─sda5 crypto_LUKS 446.7G
└─sda5_crypt LVM2_member 446.7G
├─S--1--vg-root ext4 318.8G /
└─S--1--vg-swap_1 swap 127.9G [SWAP]


As you can see, I have LUKS protected Ubuntu system, and the entrypted volume uses LLVM.



I have errors in filesystem due to electricity supply interruption; when I run fsck, I see a lot of error messages:



sudo fsck -nf /
Inodes that were part of a corrupted orphan linked list found. Fix? no
/dev/mapper/S--1--vg-root: ********** WARNING: Filesystem still has errors **********


Of course, I can not fix the errors while partition is loaded. So, I reboot in system recovery mode, open single user root shell and run:



umount /dev/mapper/S--1--vg-root
sudo fsck -f /


Now fsck runs, however, it can not find any errors. When I reboot and run fsck again from fully loaded system, it still "sees" the same error.



What is the reason of such behavior? Is it possible to fix file system errors in such configuration (when LLVM volume is protected with LUKS)?










share|improve this question














I have following partitions configuration:



NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 447.1G
├─sda1 ext2 487M /boot
├─sda2 1K
└─sda5 crypto_LUKS 446.7G
└─sda5_crypt LVM2_member 446.7G
├─S--1--vg-root ext4 318.8G /
└─S--1--vg-swap_1 swap 127.9G [SWAP]


As you can see, I have LUKS protected Ubuntu system, and the entrypted volume uses LLVM.



I have errors in filesystem due to electricity supply interruption; when I run fsck, I see a lot of error messages:



sudo fsck -nf /
Inodes that were part of a corrupted orphan linked list found. Fix? no
/dev/mapper/S--1--vg-root: ********** WARNING: Filesystem still has errors **********


Of course, I can not fix the errors while partition is loaded. So, I reboot in system recovery mode, open single user root shell and run:



umount /dev/mapper/S--1--vg-root
sudo fsck -f /


Now fsck runs, however, it can not find any errors. When I reboot and run fsck again from fully loaded system, it still "sees" the same error.



What is the reason of such behavior? Is it possible to fix file system errors in such configuration (when LLVM volume is protected with LUKS)?







partitioning encryption luks fsck






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 17 at 12:15









VitaliiVitalii

1065 bronze badges




1065 bronze badges















  • See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

    – oldfred
    Apr 17 at 12:33

















  • See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

    – oldfred
    Apr 17 at 12:33
















See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

– oldfred
Apr 17 at 12:33





See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…

– oldfred
Apr 17 at 12:33










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134637%2fis-it-possible-to-repair-root-partition-llvm-based-and-protected-with-luks%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134637%2fis-it-possible-to-repair-root-partition-llvm-based-and-protected-with-luks%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü