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

Re: partition appears to be mounted, but not according to umount or lsblk



On Thu, 19 Jan 2023 23:03:14 +0000
thyme after thyme <thyme-harp@riseup.net> wrote:

> However, when i do
> user@hostname:/$ sudo umount /mnt/data01-hdd
> 
> umount complains thus:
> umount: /mnt/data01-hdd: not mounted.

First off, don't tell us what the program did, show us exactly what the
program did by copying and pasting the initial prompt, the command, and
the following prompt. Like so:

root@ideapc:~# umount /media/disk
umount: /media/disk: not mounted.
root@ideapc:~# 


> 
> How can I unmount the partition?

I haven't seen any evidence that the partition has ever been mounted.
When and how do you think it was mounted, and how do you know? Have you
tried mounting it manually?

Your fstab has the following two (unwrapped) lines:

# 1000gb hdd via its LVM, cf. also /etc/crypttab
#/dev/mapper/1Terabyte01--vg-data01        /mnt/data01-hdd ext4 default

That sharp (#) at the beginning of the second line means that line is
commented out. So I suspect the volume never was mounted.


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: