Quantcast
Browsing all 65 articles
Browse latest View live

Discrepancy 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


How 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 Article


Partitioning 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 Article

Image may be NSFW.
Clik here to view.

Almalinux - 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 Article

ntfsclone 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 Article


Reload 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 Article

Resize 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 Article

Image may be NSFW.
Clik here to view.

use 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 Article


Is my extented LUKS partition encrypted? [migrated]

I added a second NVME on my computer and extended my encrypted LVM volume. I used the following commands to extend it :sudo pvcreate /dev/nvme0n1 << New disksudo vgextend castel-vg...

View Article


Write log files to same partition or different partition on same disk or...

On a linux server that's dedicated to the running of one application that processes financial transaction data files (the input files arrive every minute say, via sftp) what is the recommendation for...

View Article

Write 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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

overlapping 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 Article


Debian 12 - partitioning for file server [closed]

I'm setting up a new file server with Debian 12, 16GB of RAM and 3 TB SSD disk for about 40 users. I found a partitioning recommendation on the Debian websiteFor multi-user systems or systems with lots...

View Article

How 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 Article


linux - 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 Article

Cant 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 Article


Non-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 Article

How 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 Article

Image may be NSFW.
Clik here to view.

Rescue 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 Article
Browsing all 65 articles
Browse latest View live