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;
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
add a comment
|
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
See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…
– oldfred
Apr 17 at 12:33
add a comment
|
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
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
partitioning encryption luks fsck
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
add a comment
|
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
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
See this which recommends a fsck before a resize (which you do not need). askubuntu.com/questions/262211/…
– oldfred
Apr 17 at 12:33