You are not logged in.
Pages: 1
I have an external hard drive and after power outage when I tried to make 2 TB qcow2 image the image was not created and I have 1.2 TB of disk usage which I can't seem to find a reason for. I ran
du -h /mnt/sdb2
and all the files amounted to 600 GB out of 1.8 TB.
Pls advise
Offline
I have 1.2 TB of disk usage
By what metric (df) on what kind of filesystem (btrfs)?
https://wiki.tnonline.net/w/Btrfs/Balance#How_to_see_actual_disk_usage_(don't_trust_'df')
Offline
The filesystem of this disk is exfat. The abnormal usage shows up in df and in dolphin , the file manager. The unaccounted disk usage doesn't show up when checking how much space files use using du and filelight
Offline
Do you use the fuse driver or the kernel module?
DId you run fsck.exfat in case of the former?
Did you run du as root?
Offline
I didn't format the disk. The disk operated without any unaccounted disk usage until the incident described above. It also doest matter what system or distro I use, all of them have unaccounted disk usage. I ran du as root, no difrence beetwen running it as root or not.
Last edited by technicap (2024-04-25 15:41:14)
Offline
I didn't format the disk.
In case, fsck is "filesystem check", nor "format"
It also doest matter what system or distro I use
There're are two ways to mount an exfat partition: https://wiki.archlinux.org/title/File_s … le_systems
One uses fuse and https://archlinux.org/packages/?name=exfat-utils the other one the kernel module and https://archlinux.org/packages/?name=exfatprogs
This has nothing to do with "system or distro"…
Offline
fsck returned that its clean. I have exfatprogs installed and not exfat-utils so I think its the kernel module option
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post the actual fsck output, make it "-v" and make sure the FS isn't mounted while running fsck.exfat
Then see https://man.archlinux.org/man/extra/exf … exfat.8.en
It sounds like https://askubuntu.com/questions/1010088 … irectories though (same situation, unclean filesystem exit)
Can you check/repair the filesystem from a windows host?
Offline
fsck.exfat -v /dev/sdb2
exfatprogs version : 1.2.2
label: One Touch
sector size: 512.00 B
cluster size: 256.00 KB
volume size: 3.63 TB
/dev/sdb2: clean. directories 5, files 3
I don't have Windows installed on any of my machines.
Edit: Sorry about paraphrassing, force of habit
Last edited by technicap (2024-04-25 16:37:05)
Offline
There're only 3 files and 5 directories?
Also
all the files amounted to 600 GB out of 1.8 TB
but
volume size: 3.63 TB
fdisk -l /dev/sdb
lsblk -f | grep sdb
Offline
all the files amounted to 600 GB out of 1.8 TB
I apologize for confusion. What I meant was "out of all disk space used".
fdisk -l /dev/sdb
GPT PMBR size mismatch (4294967294 != 7814037166) will be corrected by write.
Disk /dev/sdb: 3.64 TiB, 4000787029504 bytes, 7814037167 sectors
Disk model: OneTouch HDD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 01000000-0000-0000-4E41-42523945364B
Device Start End Sectors Size Type
/dev/sdb1 40 409639 409600 200M EFI System
/dev/sdb2 411648 7814035455 7813623808 3.6T Microsoft basic data
lsblk -f | grep sdb
sdb
├─sdb1 vfat FAT32 EFI 67E3-17ED
└─sdb2 exfat 1.0 One Touch 0017-1B8F 1.9T 47% /run/media/tomo/One Touch
I compressed the data so I can move it to another disk In case I need to reformat. That disk wasn't reformated since I bought
Last edited by technicap (2024-04-25 17:37:56)
Offline
What I meant was "out of all disk space used".
Thanks for clearing that up.
Short of checking the FS w/ a windows system I could oly suggest to give exfatfsck from exfat-utils a run, the FS indeed seems to frequently get compromised like this.
If you want to avoid formatting the partition you could try to just copy a lot of data there and then remove it and see whether that sanitizes the file allocation table.
Offline
Pages: 1