CentOS Insufficient space in download directory /var/cache/yum/base/packages
I was trying to yum install libpcap when I got Error Downloading Packages: 14:libpcap-0.9.4-15.el5.i386: Insufficient space in download directory /var/cache/yum/base/packages * free 0 * needed 108...
View Articleis there any advantage mounting an LV by UUID instead of by path?
I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...).I see a clear advantage...
View ArticleWindows Server - how to shrink partition on GPT disk from the front?
I'm looking for a way to shrink a partition on a GPT disk from the front on production servers.With diskpart it's only possible to shrink the space from the end.Ideally while running
View ArticleStrange Drive Allocation Issue On Azure SQL Server VM Data Drive Expansion -...
I'm using this image: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoftsqlserver.sql2022-ws2022?tab=overviewTo create a VM in Azure, as part of this setup I'm shuffling the drive...
View Articledf says disk is full, but it is not
On a virtualized server running Ubuntu 10.04, df reports the following:# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda1 7.4G 7.0G 0 100% /none 498M 160K 498M 1% /devnone 500M 0 500M 0%...
View ArticleExtending root partition of a Linux OS while it is running or being used
There are 2 options I use to extend a root partition:partedgrowpartWhile former (parted) supports online resizing for a Linux system in a cloud environment, it can't be used for the same in my virtual...
View ArticleIn linux, how can I determine what processes are using a block device?
I have a disk in a server that I'm migrating to a LVM volume group. Previously, it was using traditional DOS-disk partitioning, hdb[1-5].I've unmounted every filesystem from hdb, shut off swap using...
View ArticleShrink partition to exactly fit the underlying filesystem size
Recently i shrinked an ext4 filesystem size to 500GBdf -hFilesystem Size Used Avail Use% Mounted on/dev/sda2 493G 64G 404G 14% /now i want to shrink the partition size to fit exactly to the filesystem...
View ArticleUbuntu Live-server extend partition size
How can I extend the sdb2 partition?Here is the current partition layout of my /dev/sdb disk:/dev/sdb├─sdb1 ntfs Windows10 6672012C72010313├─sdb2 ext4 1.0 dd841b67-660f-42dc-a057-a934bd0385ea└─sdb3...
View ArticleHow to check disk usage of directories in a particular partition?
If I use df /dev/sda1 -h, it only shows the whole usage info like used and avail. But I want to see the usage of each directory. However, if I do du -h --max-depth=1, it shows all the directories under...
View ArticleMount /usr on different partition
I want to mount /usr directory on different partition and keep the same owner on all files and subdirectories in /usr directory.I want to mention that this issue is for linux ec2 machine where I can't...
View Article