Questions tagged [size]
The size tag has no summary.
252 questions
1
vote
1
answer
105
views
Crop pdf removing content cropped away
I do have a pdf that contains a drawing, a part of which I would like to extract.
I am able to open the pdf in inkscape. However, it contains a group with 150k items. As far as I see, there are no ...
6
votes
2
answers
2k
views
the filesystem root has only 500MB
I am on Debian 12 and today while i was installing Davinci Resolve it happened that the following notification appeared
the filesystem root has only 500MB
though I have about 400GB
I don't actually ...
0
votes
1
answer
307
views
Cannot resize a partition with Gparted below "Minimum size"
I used gparted to resize a partition successfully, but it does not allow me to shrink it as much as I would actually like.
I think it's because of the Minimum size.
Is there a possibility to reduce ...
0
votes
3
answers
124
views
What minimum linux's root partition size for virtual machine
I wanna install multiple linux distro (Ubuntu, Fedora, Manjaro, Opensusue, etc) via virtual machine (qemu) with shared /home partition for testing purposes, which i'm not gonna install anything big or ...
0
votes
0
answers
125
views
Block size output from lsblk and blockdev don't match
Why the output of LOG-SEC column and --getbsz in the following don't match? Are these values of different quantities? How to find actual values? And is the output of following stat command always ...
0
votes
1
answer
959
views
Why is the apparent size of a file much larger than the actual disk usage in this case? (4.4GiB vs. 512B)
While browsing folders via ncdu, I noticed that the apparent size of a file was sometimes much larger than the actual disk usage. Example via ncdu, then a to toggle between showing disk usage and ...
2
votes
0
answers
154
views
500gb external hard drive listed with 512b only
Has anyone experienced this problem?
I have a 500GB Seagate external hard drive that recently had some problems. Due to these problems I tried to format but unfortunately the formatting shows an error
...
0
votes
2
answers
681
views
The filesystem is already 65010688 (4k) blocks long
Please help me , when I try to increase the partition size in LVM, but when I try it doesn’t work,
I do the following:
df -h
Filesystem Size Used Avail Use% Mounted on
udev ...
0
votes
0
answers
202
views
USB Gadget Size Limitation - Mass Storage Emulation
I'm facing a challenge with my Raspberry Pi 4 and software setup. The Pi connects to my server to download a weekly-updated database. The problem arises from the Mass Storage Gadget's CD emulator, ...
0
votes
4
answers
423
views
How to view a log file that's worth 10GB+?
The ways that I've thought of:
If you get to reproduce the scenario in real time. Use
tail -f application.log | tee /tmp/tailed_log
But it's not sure that we'll get to reproduce the scenario in real ...
1
vote
0
answers
38
views
find can not find size between A and B [duplicate]
problem description
I was using find(GNU version) to find files with size between 4G - 5G with below command
# find . -size +4G -size -5G -exec ls -1hSs {} +
But below can work
# find . -size +4G -...
1
vote
2
answers
1k
views
What's the POSIX-compliant way to get the size of a file or folder in bytes?
According to the Open Group specs, POSIX du doesn't have the -b option to display the size in bytes. So what is the POSIX-compliant way to get the size of a file or folder in bytes?
0
votes
0
answers
632
views
grep: What is the limit for a pattern file size
I am using grep with the -f option and I run into an issue when the pattern file given with -f is very long. The one that is failing for me has almost 300 thousand lines and 40 MBytes. grep does not ...
0
votes
1
answer
7k
views
Debian - Create new partition with fdisk and set size ( Last sector )
please could someone help me with my problem of create new disk partition in Debian ?
I'am using Proxmox where I have created a few virtual machines.
On one of virtual machines where have installed ...
1
vote
2
answers
205
views
What's the upper-bound for an array index/subscript in GNU bc?
I've found that there is an upper-bound on your subscripts/indices in an array in GNU bc. Running interactively and asking to let arr[100000000]=42 returns an error:
Runtime error (func=(main), adr=...
0
votes
1
answer
174
views
How to display the paths to all files that have a size greater than the specified limit
I need to output the paths to all files that have a size greater than the specified limit (declared as a variable).
I've done it using find script:
FILESIZE = "+10M";
find "$1" -...
0
votes
2
answers
6k
views
How can i make sure my volume is btrfs (or get it's type) and how can I know it's real size in my partition?
I have a volume which I believe to be btrfs, but the partition bearing it has an odd number of blocks and there is a little space left before the next partition.
I'd like to check it's type (btrfs ...
9
votes
2
answers
2k
views
Why am I getting HDD total space less than 931 GiB?
I've been trying for a few days already, but still cannot figure it out how to get the proper size of my HDD drive with a python script.
My HDD is 1Tb. As I know in Gb it is 1000Gb, and in GiB it is ...
0
votes
2
answers
1k
views
Count bytes of filename
How can I know how many bytes does it weight the name of a filename? Just the file, not the full path.
I've tried this:
echo 'filename.extension' | wc -c
is this right?
0
votes
1
answer
566
views
OpenBSD core dump and /var size
I'm trying to figure out my partitioning
which leads to https://man.openbsd.org/disklabel#AUTOMATIC_DISK_ALLOCATION which says:
/var 13% of disk. 80M – 2x size of crash dump
But how do I ...
3
votes
2
answers
1k
views
Does Linux update the size of a block device?
In the light of emmc wearout monitoring I'm wondering about the size as displayed inside a running Linux OS. An emmc chip has an internal manager which keeps track of the usage intensity of all the ...
0
votes
1
answer
529
views
Samba share on rpi/Linux is reporting SD card space rather than HDD space in Windows
The samba config should be pointing directly to the mount point I have created for the two external HDDs, yet it still reports in Windows as 116GB (my OS SD card size on the Pi).
/etc/fstab (...
0
votes
1
answer
291
views
Delete files in a directory only when cumulative sum of files size exceeds xGB
I have a directory, with thousands of files.
I need to sort the files in descending order of creation date (to make sure that the newest files wont be deleted), and start summing the size of these ...
1
vote
1
answer
1k
views
How to open and read a character device as binary file?
I'm working with USB and I want to read the content of usb device descriptor in /dev/bus/usb/00x/00y - it is a character device.
I used fopen to open it as a binary file with "rb" parameter. ...
2
votes
1
answer
2k
views
Why do snapshots consume much less space than the data which is changed after they have been taken?
Although I am using ZFS since quite a while, I am still failing to understand some aspects of it from time to time. Currently I am trying to understand how ZFS snapshots take up space on the disk and ...