Quantcast
Channel: Active questions tagged partition - Server Fault
Viewing all articles
Browse latest Browse all 65

Unable to run e2fsck on partition. Claims the partition is "in use"

$
0
0

My system claims my partition is in use, but I can't figure out why:

root@racknerd-05beb8:~# e2fsck -fvy /dev/vda1e2fsck 1.46.2 (28-Feb-2021)/dev/vda1 is in use.e2fsck: Cannot continue, aborting.root@racknerd-05beb8:~# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)udev on /dev type devtmpfs (rw,nosuid,relatime,size=483632k,nr_inodes=120908,mode=755)devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=99984k,mode=755)tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=99980k,nr_inodes=24995,mode=700)none on / type tmpfs (rw,relatime,size=614400k)root@racknerd-05beb8:~# df  Filesystem     1K-blocks   Used Available Use% Mounted onudev              483632      0    483632   0% /devtmpfs              99984    364     99620   1% /runtmpfs             499908      0    499908   0% /dev/shmtmpfs              99980      0     99980   0% /run/user/0none              614400 438456    175944  72% /root@racknerd-05beb8:~# fdisk -lDisk /dev/vda: 12 GiB, 12884901888 bytes, 25165824 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0xcaec3c75Device     Boot Start      End  Sectors Size Id Type/dev/vda1        2048 25165823 25163776  12G 83 Linuxroot@racknerd-05beb8:~# lsof /dev/vda1<blank>root@racknerd-05beb8:~# umount /dev/vda1umount: /dev/vda1: not mounted.root@racknerd-05beb8:~# fuser -v /dev/vda1<blank>root@racknerd-05beb8:~# lsblkNAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTsr0     11:0    1 1024M  0 rom  vda    254:0    0   12G  0 disk `-vda1 254:1    0   12G  0 part root@racknerd-05beb8:~# lsof -n|grep vda1jbd2/vda1   298                       root  cwd       DIR               0,39      480          1 /jbd2/vda1   298                       root  rtd       DIR               0,39      480          1 /jbd2/vda1   298                       root  txt   unknown                                        /proc/298/exe

Viewing all articles
Browse latest Browse all 65

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>