Fedora tries to mount deleted swap partition which is not in fstab or systemd
When creating a new swap partition in Fedora 29 to enlarge it I removed the old one using GParted and removed their respective entries in /etc/fstab. I created new entries for the new swap partitions which work as intended.
However, the system still tries to mount the old partition at startup even though it is not in /etc/fstab - until it times out eventually.
The service also doesn't exist for any entry of systemctl status
. I also have tried to run
systemctl reset-failed
systemctl daemon-reload
But to no avail. The following is the content of my fstab file:
# /etc/fstab
# Created by anaconda on Wed Nov 28 22:29:31 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=8efbb12d-bd38-420c-a33e-f02205e1a6e9 / ext4 defaults 1 1
UUID=ded23a91-0e22-48f4-b1ec-169f255961b6 /boot ext4 defaults 1 2
UUID=AEA0-2099 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=3e9f87b8-0b25-4a2f-aa21-51ea8fc58020 swap swap defaults 0 0
UUID=8743c19d-5d86-4651-a8b6-cf3477da8b13 swap swap defaults 0 0
The following is from /var/log/boot.log
[*** ] A start job is running for dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981e[ TIME ]
Timed out waiting for device dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981ex2de9d224055ea2.device.
fedora systemd fstab automounting systemctl
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
When creating a new swap partition in Fedora 29 to enlarge it I removed the old one using GParted and removed their respective entries in /etc/fstab. I created new entries for the new swap partitions which work as intended.
However, the system still tries to mount the old partition at startup even though it is not in /etc/fstab - until it times out eventually.
The service also doesn't exist for any entry of systemctl status
. I also have tried to run
systemctl reset-failed
systemctl daemon-reload
But to no avail. The following is the content of my fstab file:
# /etc/fstab
# Created by anaconda on Wed Nov 28 22:29:31 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=8efbb12d-bd38-420c-a33e-f02205e1a6e9 / ext4 defaults 1 1
UUID=ded23a91-0e22-48f4-b1ec-169f255961b6 /boot ext4 defaults 1 2
UUID=AEA0-2099 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=3e9f87b8-0b25-4a2f-aa21-51ea8fc58020 swap swap defaults 0 0
UUID=8743c19d-5d86-4651-a8b6-cf3477da8b13 swap swap defaults 0 0
The following is from /var/log/boot.log
[*** ] A start job is running for dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981e[ TIME ]
Timed out waiting for device dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981ex2de9d224055ea2.device.
fedora systemd fstab automounting systemctl
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
specifically, any reference to the old uuid incat /proc/cmdline? if so, fix should be to edit/etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"
– sourcejedi
4 hours ago
add a comment |
When creating a new swap partition in Fedora 29 to enlarge it I removed the old one using GParted and removed their respective entries in /etc/fstab. I created new entries for the new swap partitions which work as intended.
However, the system still tries to mount the old partition at startup even though it is not in /etc/fstab - until it times out eventually.
The service also doesn't exist for any entry of systemctl status
. I also have tried to run
systemctl reset-failed
systemctl daemon-reload
But to no avail. The following is the content of my fstab file:
# /etc/fstab
# Created by anaconda on Wed Nov 28 22:29:31 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=8efbb12d-bd38-420c-a33e-f02205e1a6e9 / ext4 defaults 1 1
UUID=ded23a91-0e22-48f4-b1ec-169f255961b6 /boot ext4 defaults 1 2
UUID=AEA0-2099 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=3e9f87b8-0b25-4a2f-aa21-51ea8fc58020 swap swap defaults 0 0
UUID=8743c19d-5d86-4651-a8b6-cf3477da8b13 swap swap defaults 0 0
The following is from /var/log/boot.log
[*** ] A start job is running for dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981e[ TIME ]
Timed out waiting for device dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981ex2de9d224055ea2.device.
fedora systemd fstab automounting systemctl
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
When creating a new swap partition in Fedora 29 to enlarge it I removed the old one using GParted and removed their respective entries in /etc/fstab. I created new entries for the new swap partitions which work as intended.
However, the system still tries to mount the old partition at startup even though it is not in /etc/fstab - until it times out eventually.
The service also doesn't exist for any entry of systemctl status
. I also have tried to run
systemctl reset-failed
systemctl daemon-reload
But to no avail. The following is the content of my fstab file:
# /etc/fstab
# Created by anaconda on Wed Nov 28 22:29:31 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=8efbb12d-bd38-420c-a33e-f02205e1a6e9 / ext4 defaults 1 1
UUID=ded23a91-0e22-48f4-b1ec-169f255961b6 /boot ext4 defaults 1 2
UUID=AEA0-2099 /boot/efi vfat umask=0077,shortname=winnt 0 2
UUID=3e9f87b8-0b25-4a2f-aa21-51ea8fc58020 swap swap defaults 0 0
UUID=8743c19d-5d86-4651-a8b6-cf3477da8b13 swap swap defaults 0 0
The following is from /var/log/boot.log
[*** ] A start job is running for dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981e[ TIME ]
Timed out waiting for device dev-disk-byx2duuid-5121042fx2de8a6x2d41edx2d981ex2de9d224055ea2.device.
fedora systemd fstab automounting systemctl
fedora systemd fstab automounting systemctl
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 5 hours ago
guntbert
1,04711017
1,04711017
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 7 hours ago
DavidLDavidL
11
11
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
DavidL is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
specifically, any reference to the old uuid incat /proc/cmdline? if so, fix should be to edit/etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"
– sourcejedi
4 hours ago
add a comment |
1
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
specifically, any reference to the old uuid incat /proc/cmdline? if so, fix should be to edit/etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"
– sourcejedi
4 hours ago
1
1
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
specifically, any reference to the old uuid in
cat /proc/cmdline ? if so, fix should be to edit /etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"– sourcejedi
4 hours ago
specifically, any reference to the old uuid in
cat /proc/cmdline ? if so, fix should be to edit /etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"– sourcejedi
4 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/3.0/"u003ecc by-sa 3.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
});
}
});
DavidL is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f495339%2ffedora-tries-to-mount-deleted-swap-partition-which-is-not-in-fstab-or-systemd%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
DavidL is a new contributor. Be nice, and check out our Code of Conduct.
DavidL is a new contributor. Be nice, and check out our Code of Conduct.
DavidL is a new contributor. Be nice, and check out our Code of Conduct.
DavidL is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f495339%2ffedora-tries-to-mount-deleted-swap-partition-which-is-not-in-fstab-or-systemd%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
1
Did you update grub with the new swap partition?
– Nasir Riley
7 hours ago
specifically, any reference to the old uuid in
cat /proc/cmdline? if so, fix should be to edit/etc/default/grub, and then "Changes to /etc/default/grub require rebuilding the grub.cfg file as follows"– sourcejedi
4 hours ago