creating and mounting a logical volume
I don't know if my question makes any sense. I have never tried this sort of thing before. What I would like to do is create one logical volume spanning multiple physical partitions like /dev/sdb1,...
View ArticleBest way to copy large amount of data between partitions
I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files...
View ArticleLinux special device does not exist when I mount
I am using Centos8 with standard specs like 8GB ram and 4CPU and 250 GB Space.When I finished the installation I get automatically 2 folders, 1 70GB and 1 with 160GB.I want to merge them both to one.I...
View ArticleCannot 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 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 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 ArticleI gave a 2.2 TB hard disk but only 100GB (sda->sda3->ubuntu--vg-ubuntu--lv)...
I have ubuntu 22.04 server on my vm in esxi and iam new for thisThe size of my current directory(/home/<username>) after login is only 100GBdf -h .Filesystem Size Used Avail Use% Mounted...
View ArticleResize /var partition on a remote system (Linux Debian Lenny)
At a server that I only have access via ssh and vnc to (which means no booting from a "live" CD/DVD is possible), I would like to shrink the partition assigned to /var (in order to free some space for...
View ArticleShould I create ZFS zpools with whole disks or partitions?
I am making zpools on FreeBSD machine. While creating zpools I observe these two cases:If I take raw disks and create zpool then I am able to form zpools and they are working perfectly.If I format...
View ArticleReread partition table without rebooting?
Sometimes, when resizing or otherwise mucking about with partitions on a disk, cfdisk will say:Wrote partition table, but re-read table failed. Reboot to update table.(This also happens with other...
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 Articlelinux - how to list partitions of specific type?
I am looking for a way to list all partitions of a specific type on linux. (Specifically: all EFI system partitions).I know blkid can filter on filesystem type: the command blkid -t TYPE=vfat returns...
View ArticleHow to increase the size for /dev/mapper/centos-root without data loss
I am running a virtual server, and the provider added extra diskspace. However, I need to somehow increase (merge) the existing disk (has data) and the new disk (empty).how to increase the size for...
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 ArticleRepartitioning proxmox root/data LVM and zfs pool recovery
Ok so I created my first proxmox virtual environment about a month or two ago and due to inexperience and miscalculations I created a partition table I am not really happy with. Along with that it has...
View ArticleQuestioning why LVM for the OS Disks in cloud environments is not recommended
I recently came across a recommendation from Microsoft regarding the configuration of Logical Volume Management (LVM) in cloud environments, and I find it somewhat puzzling. The recommendation states...
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 ArticleHow do i safely add a missing partition to existing raid1 array in RHEL8
I did a RAID1 to lvm for / partition but i forgot to RAID1 /boot and /boot/efi standard partition, how do i safely add the missing partitions into RAID1 array?click here for image of partitions
View ArticleAre RAID controllers blind to partition tables on individual disks?
I'm curious how the concept of partitions (and partition tables) co-exist with the concept of RAID arrays. Here is my current understanding (correct me if I'm wrong anywhere):A physical hard-drive disk...
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 ArticleSelect disk in dispart via GUID/permanent hash [migrated]
I hate that Windows drive letters move around for USB disks.So how can I reference a disk in diskpart by hardware hash id?Relative numbering is hard to script, especially if I have drives with same...
View ArticleDiscrepancy from fdisk while resizing an ISO image
I have an ISO image that I created using Clonezilla (on Ubuntu 24.04) from an NTFS (Windows-based) disk. It is 455 GiB in size, but only 32 GiB of which are used. So, I thought I could resize it.I...
View Article