Cannot initialize disk in PowerShell : Initialize-Disk throws "The disk has...
I'm trying to change the flash drive's partition style to GPT using PowerShell, but the cmdlet throws "The disk has already been initialized" (even though I've cleaned the drive):PS...
View ArticleHow to resize Partitions on Proxmox?
Hey im Hosting Proxmox on a Small Hosting Provider and after i added more Space to my "sda" Proxmox refused to start and i wasnt able to go on the WebInterface.I still was able to go into NoVNC to look...
View ArticleHow to extend the size of a xfs?
I have 119Gb in sda2, but centos_template--centos7-root is only 27.8Gb, how can I increase it?[root@runner~]# lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINTNAME FSTYPE LABEL SIZE MOUNTPOINTsda 120G├─sda1...
View ArticleHow to jump from index to data partition in LTFS?
I am trying to use command prompt's functionality to set the partition 0&1 but unable to jump from one partition to another so i was thinking about it is there any command or anything so which i...
View Articletake an image with clonezilla of only the used space
I have a USB stick that contains two partitions, sda1 and sda2. I want to take an image of this stick so that I can clone onto other USBs. The USB size is 128GB. but both partitions are less than 10GB....
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 ArticleMove data partition (including its vss copies) to different disk in Windows...
What’s the best way to move a windows server 2019 (fileserver) data partition (including its vss copies) to another attached disk?System and data are on same disk, but different partitions. I just need...
View ArticleVMWare guest OS is not using full hard drive space
I'm wondering if you can give me some insight on how to figure this out. I've recently virtualized a w2k3 server that had 10GB C:\ drive size. Once I finished virtualizing it, I expanded the disk to...
View ArticleIs it possible to resize mounted partition over ssh?
Background: I was given SSH access to a Ubuntu 20.04 VPS that has root partition of 5G (sda total 25G). VPS provider says Linux admin can resize the /dev/sda1 partition.$ sudo fdisk -l && df...
View ArticleHow to change the /home size of an OCI virtual machine?
What is the best way to specify the size of the /home partition while creating an OCI VM? Is this something that could be controlled through the available OCI Terraform modules? I did look up the...
View ArticleFailed to update apt packages in ubuntu 20.04 at shim-signed
I am using VMs on GCP. and sometime I need to restore a the VM disk to an older snapshot. so the way I do it is I create a new disk from the old snapshot. delete the old one. and attach the new one...
View ArticleHow to reset a Harddisk (delete Mbr & delete Partitions) from the Command...
To start from a clean state I need to reset the hard disk to an empty state from command line. It is not about running a wipe utility, the data don't have to be overwritten.This question is quite...
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 ArticleAlmalinux - Extending root partition from 4 GiB to 14 GiB
I am trying to extend the disk space on an AlmaLinux server (running on a VM).The goal is to add unallocated 10.00 GiB to the root partition (dev/sda2).What is the best way to do this without losing...
View Articlentfsclone reports "Can't read sector at 470585344, lost data". How can I...
I used ntfsclone from ubuntu to copy a bad windows hard drive to a new one using:sudo ntfsclone --rescue -f --overwrite /dev/sda1 /dev/sdb1which produces the following:WARNING: Can't read sector at...
View ArticleReload partition table on FreeBSD
I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS).I don't have hdparm nor gfdisk nor partprobe.What's the standard way of doing ?PS: my pkg doesn't work behind a firewall so i...
View ArticleResize partition to maximum using parted in non-interactive mode
Since using fdisk in this case is fairly complicated due to the fact that the non-interactive usage is probably not possible or at least very complicated (using printf), I want to use parted resizepart...
View Articleuse new hard drive to extend existing partition on Ubuntu
I have inherited this machine with following partition setup:The machine runs Ubuntu 20.046 LTS and as one can see above there is 3.5T space unallocated in the partition schema. The unallocated space...
View ArticleWrite log files to different partition on same disk or different physical...
On a linux server dedicated to running one application that processes financial transaction input data files that arrive every minute using sftp, what is the recommendation for writing out log...
View ArticleHow to extend an ext4 partition and filesystem?
I have a 400GB disk with a 320GB ext4 partition.I would like to grow the ext4 partition to use the left space (80GB of free space).+--------------------------------+--------+| ext4 | Free...
View Articleoverlapping disks after partition extension
The machine I'm working with runs Ubuntu 20.046 LTS and has two HDD plugged. The initial setup was followingI wanted to use sdb to extend ubuntu-vg-ubuntu-lv which would make a total of about 5.3T....
View ArticleCant find my hard drives in Ubuntu installation?
I was trying to setup a Microserver with two 1TB harddrives as a software RAID. Somehow it didnt work and now ubuntu 14.04 is not starting. My problem is that I dont see the drives anymore when I go...
View ArticleNon-destructively resize software raid to use free space before and after...
I have a four-disk Linux software RAID, configured as RAID5:$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 3.6T 0 disk └─sda6 8:6 0 3.6T 0 part └─md10 9:10 0 10.8T 0 raid5 /mnt/volume0sdb...
View ArticleHow to mount new logical volume (adding to fstab and mtab)?
I created a new LV for the first time using this command: lvcreate -L 20G -n iew-vm-lv /dev/ubuntu-vg #create the new LVWhen I try running mount /dev/ubuntu-vg/iew-vm-lv, I get the following...
View ArticleRescue Redo Clone from small HDD to larger HDD Windows 10
I have a backup, including partitions, from a computer that has a 110 GB SSD. We upgraded that PC to 2 TB M.2 Drive.I then ran a restore with Rescue Redo using the previously created backup, to the new...
View ArticleCentOS 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 Article