Safe tear down to prevent Infiniband partition access leakage between VM tenants
Device: mellanox cx6 with mlx5_core driver for the pf, and vfio-pci for the vf for passthrough to VMsSituation: I have a VM with a passed-through VF, with the VF guid added to partition A. I want to...
View ArticleUnable to delete partition 2 from device /dev/disks/naa.50000398b8497b91
i have a disk on ESXI, i am trying to delete the partitions that are on it, this is what i did :partedUtil delete /dev/disks/naa.50000398b8497b91 1partedUtil delete /dev/disks/naa.50000398b8497b91 3...
View ArticleChange name of GPT Partition (not label) under Windows from command line
I need to change the name of a GPT partition (not a filesystem label), and I haven't found any way to do it under Windows, except for this tool.The problem is that it's interactive and doesn't support...
View ArticleUnable to run e2fsck on partition. Claims the partition is "in use"
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,...
View ArticleHow do I find the UUID of a file system?
I'm running Ubuntu, and want to find out the UUID of a particular filesystem (not partition). I know I can use e2label /dev/sda1 to find out the file system label, but there doesn't seem to be a...
View ArticleDeleting All Partitions From the Command Line
How do you delete all partitions on a device from the command line on Linux (specifically Ubuntu)? I tried looking at fdisk, but it presents an interactive prompt. I'm looking for a single command,...
View ArticleI have a NTFS partition now the size of the partition seems to be wrong. Is...
So I I resized a partition and now the partition table seems like it is screwed up. I am running Windows 7. When I open the "Disk Management" The table at the top of the screen show the disk as 139GB....
View ArticlePowerShell Initialize-Disk throws "The disk has already been initialized"
I'm changing a flash drive partition to GPT using PowerShell, but the Initialize-Disk cmdlet throws "The disk has already been initialized", even though I've cleaned the drive:Clear-Disk 5 -RemoveData...
View ArticlePartitioning Rocky Linux 9 on AWS ec2
I have a strange issue while working with partitions on my Rocky Linux 9 (non LVM) EC2 instance on AWS.GOAL: I would like to enlarge a little (5GB) my ebs in order to create a new partition and a new...
View ArticleWhere can I find dskprobe.exe for Server 2012 R2?
As the question suggests, where can I find dskprobe.exe for Windows Server 2012 R2? I need dskprobe to recover a deleted partition and I can not find the application anywhere on my server and looking...
View ArticlePartitioning archlinux server
Alright, so am building a webserver that will be using mysql, nginx, php, and a few other things. I expect the database to grow quote large and there will be many small files that will be served by the...
View ArticleHow to extend a Linux PV partition online after virtual disk growth
VMware allows to extend the size of a virtual disk online - when the VM is running.The next expected steps for Linux system are:extend the partition: delete and create a larger one with fdiskextend the...
View ArticleMirroring partition table?
I would like to mirror one drive's partition table, that is, have exactly the same partition on both sda and sdb. I have heard that one of the fdisk utilities can export a partition table into a file,...
View ArticleExpand primary partition with additional Volume on OVH instance with Linux...
I'm trying to setup a VPS on OVH. I've chosen the smallest public cloud general purpose instance and installed Ubuntu 22.04. Here are the system specifications:8 GB RAM 2 vCore (2.3 GHz) 50 GB NVMe 500...
View ArticleAlmaLinux 9: best LVM/partition layout for MariaDB‑heavy host (1.8 TB SSD...
I’m preparing a new AlmaLinux 9 server and would like advice on the partition/LVM layout.HardwareDeviceQtyRAIDUsable sizePurposeSSD 1 .8 TB2RAID 1 (mdadm)1.8 TBOS +“hot” dataHDD 22 TB1—22 TBbulk “cold”...
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 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 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 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 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 Article