Questions tagged [diskmanagement]
The diskmanagement tag has no usage guidance.
235
questions
6
votes
2
answers
647
views
Issue while using tune2fs
I have a server with a 3TB disk attached. I want to reduce the reserved blocks using tune2fs.
Reducing the default 5% to 1% allows me to get a lot of extra space.
Before applying in real server, I ...
18
votes
4
answers
40k
views
How to resize RAID1 array with mdadm?
I've running Ubuntu 11.04 (kernel 2.6.38-11). I replaced 2x160GB with 2x500GB drives. They are configured as RAID1.
The partition tables show the right sizes. Here's sfdisk:
# sfdisk -d /dev/sdb
# ...
-2
votes
0
answers
19
views
Which disk monitor tool can get the health status of logical drives with their corresponding physical drivers [closed]
Previously I always used the HDsentinel tool to get the health status of physical drives, but it still cannot get the correct mapping relationship between the upper logical and physical drives.
So now ...
2
votes
1
answer
4k
views
Cannot set secondary hard drive offline in Disk Management
I need to set a disk as offline in order to connect it to a Hyper V virtual machine.
This disk has Ubuntu installed on it. Windows has absolutely no use for it.
The ubuntu disk is "Disk 1". It has ...
0
votes
2
answers
545
views
How to combine two disks (partition and disk) if the partition holds the Ubuntu operating system?
I have a new server that came with two 1 TB SSD NVMe.
My goal is to create one drive with 2 TB. So I need to combine the two 1 TB.
I installed Ubuntu on SSD 1 with:
PART /boot/efi esp 256M
PART swap ...
1
vote
2
answers
12k
views
Ubuntu - unable to extend partition with growpart - partition 1 could only be grown by 2046
I want to extend /dev/sdb1 partition
I extended disk for 2 GB in Hypervisor and new disk size is shown for /dev/sdb disk (from 20 to 22 GB)
Device Boot Start End Sectors Size Id Type
/...
0
votes
2
answers
275
views
extending EBS volume
I have extended an existing EBS volume from 2.5Tb to 3 Tb , However when i check disk managment I dont see the unallocted space , It shows as 3TB post extension in AWS console but not on my windows ...
0
votes
1
answer
99
views
CentOS LVM Extension Trouble
We have a CentOS 8 server that has recently had a lvm fill up on available space. This was not our monitoring system since it watches the disk space and not the volume space. Regardless I am having ...
3
votes
1
answer
2k
views
How to directly add an SSD to a PowerEdge server without entering BIOS or creating a Virtual Disk?
I have a Dell PowerEdge R430, booting to Debian from an SSD. In order to get the system to "see" this first SSD, I first had to use the BIOS to create a Virtual Disk representing that ...
5
votes
2
answers
6k
views
Recover deleted LVM signature
I guess I've deleted LVM partition. I expanded the datastore in vmware ( 70 GB to 90 GB ), then I run echo 1> /sys/class/block/sdb/device/rescan.
After that I run fdisk /dev/sdb. it shows my sdb ...
1
vote
1
answer
4k
views
Resize error : ext2fs_open2: Bad magic number in super-block
I have a server server1 running 8GB root partition
I have taken the ami of this server1 and created anothe server2 but changed the root partition to 60GB
3.I wanted to extend the linux partition in ...
0
votes
2
answers
225
views
How do I get the `/dev/sd*` path from `ata*` in dmesg?
I have this output in dmesg:
[149939.146576] ata18.00: exception Emask 0x1 SAct 0x0 SErr 0x0 action 0x0
[149939.146592] ata18.00: irq_stat 0x40000001
[149939.146600] ata18.00: cmd a0/00:00:00:04:00/00:...
0
votes
1
answer
232
views
I have a local Amazon Linux 2 (EC2) AMI Instance; How do I repartition the disk and expand the file system?
I have expanded the disk of my VM.
How do I now repartition the disk and expand the file system on the guest?
Which is Amazon Linux 2
Kernel 4.14.252-195.483.amzn2.x86_64 on an x86_64
$> sudo lsblk
...
0
votes
1
answer
594
views
How to extend root volume / with an extra storage disk
I am trying to add a 2nd disk to a CentOS 8 instance and I want to extend the entire storage utilizing all the available extra space;
1st storage: 40 GB
2nd storage: 100 GB (added later)
The problem ...
0
votes
0
answers
233
views
Why are "wmic diskdrive get size" and "(Get-Disk).Size" returning slightly different values?
As you can see, the following commands provide slightly different output. Why? I was expecting them to be the same. There is a 2.66MB difference between the two.
How can I get the values from "...
1
vote
1
answer
110
views
How to re-organize partition sizes on a Software RAID on Ubuntu?
I have an existing Software RAID consisting of 4 partitions on a Server running Ubuntu 22. I want to decrease the size of the md2 partition and increase the size of the md3 partition.
How do achieve ...
1
vote
1
answer
298
views
Disk Size is not Consistent Between fdisk and parted
I have noticed some difference in size displayed using parted and fdisk. I have a disk attached with a size of 20GB. Executing the fdisk command shows that the size is 20GB which is correct.
fdisk -l /...
0
votes
1
answer
4k
views
How to create backup/snapshot of Unmanaged OS disk in azure?
I have a Virtual Machine which has an associated Unmanaged OS disk with it.
If my OS disk is of managed type it gives me option to take snapshot of the disk. But for unmanaged disk it is not giving ...
5
votes
3
answers
22k
views
KVM Pass through disk Partition - By Label or UUID
Normally, when I passthrough a disk to a VM I use the entire disk. I am looking at attempting to passthrough a partition in KVM. First question is that possible/ok? Looking at this doc it seems to be ...
0
votes
2
answers
607
views
df -h --total command showing wrong total disk size
I have 512GB attached to my linux centos 7.9 server I'm trying to know how much total disk size used from overall disk size from inside the server
I tried to use df -h --total command to show the ...
5
votes
1
answer
3k
views
Why is disk label type dos but the partition system is GPT?
And how can it be larger than 2TB if it's dos?
Disk /dev/sdi: 6000.6 GB, 6000606183424 bytes, 11719933952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / ...
6
votes
4
answers
44k
views
Safely remove a disk from a spanned volume
I'm running Windows Server 2008 R2 and converted physical disks to dynamic disks and combined them to a spanned volume. Yesterday, one disk started throwing S.M.A.R.T Errors, so I decided to get a new ...
0
votes
0
answers
841
views
Creating and mounting a disk using cloud-init after a server is installed
Is it actually possible to run cloud-init to create a disk after the VM itself has been created?
I have a VM created on a VMware platform. Currently cloud-init is not enabled on the GUI for creating ...
0
votes
1
answer
2k
views
How can I umount /dev/sda1 partition in ubuntu?
I have a Ubuntu VM which has an unmanaged OS disk associated with it.
I want to shrink my OS disk of size 50 GB to 40 GB.
However, when i try to unmount /dev/sda1 partition it tell me
umount: /...
0
votes
0
answers
1k
views
Recommended partitioning strategy Windows Server 2022
I’m setting up a Windows Server 2022 machine and was wondering about partitioning strategies. I will be using the server for Terminal Services (2 or 3 users) and Hyper-V. Running maybe 12 or so VM’s. ...
0
votes
1
answer
3k
views
What happens when I "offline" a disk and is there a difference between diskpart.exe and the disk management snap-in?
What actions does Windows take when I "Offline" a disk in the Disk Management GUI?
What actions does Windows take when I "Offline" a disk in Diskpart?
Are there any differences between the two ...
0
votes
1
answer
896
views
How to convert mdadm raid1 to single driver and keep the data?
I have a raid1 created by mdadm in the root partition on /dev/nvme1n1p2 and /dev/nvme0n1p2, efi boot partition is on /dev/nvme1n1p1. Then I followed some commands to remove one of the disks and ...
1
vote
0
answers
43
views
iotop PRIO column is showing ?sys
How can i fix iotop to show PRIO correct value?
2
votes
1
answer
2k
views
Upgrade SATA drive on Dell Poweredge 1950, RAID 1, Ubuntu server
My current set up is a Dell PowerEdge 1950, two 250GB SATA drives, RAID 1, OS is Ubuntu server. Using it for running OTRS (open source help desk).
I'd like to upgrade the drives to the maximum ...
4
votes
0
answers
2k
views
How to dismount a VHD that has been absorbed into a Storage Space
Normally in Windows, you can create a Virtual Hard Disk (VHD), see it in the Disk Management, right-click, and remove it:
No problem.
Storage Spaces Hides Disks
I want to test the resiliency of ...
0
votes
1
answer
47
views
Browsable Disk Not Shown in Win10 Explorer
Out of ideas myself so hoping someone has seen this or can throw ideas at it.
I have a Win10PRO x64 21H1 with latest monthly updates installed
C, D, E, F Drives - all Internal
F Drive not shown in &...
3
votes
1
answer
201
views
Is there some way to change windows disk size without actually increase it?
What I mean is, for test purpose, Can I change the disk size showed for Windows without actually increase it.
For example, in "this computer", the real disk size is: 50gb, but I'd like to ...
0
votes
0
answers
250
views
EBS Won't Size Correctly Windows Instance
My root volume won't expand to the size the EC2 console shows we've set the drive to.
The C:\ should be 1.5 TB but only shows as 50 GB. The option to expand the volume isn't present in the disk ...
1
vote
1
answer
428
views
Unable to grow Windows 2019 C: system partition
I have a software vendor supplied 2019 Server virtual, with a very simple one partition setup. Unlike many of similar questions I've come across while searching, this one does not have recovery ...
0
votes
1
answer
3k
views
Windows 10: How do I set a hard disk offline by default?
I have a disk that I want to keep in an offline state, even across reboots. It's a backup disk that should remain offline until I'm doing a backup. Short of opening the case and pulling the power/...
1
vote
1
answer
2k
views
How to change / replace a failed "system" disk on EMC Clariion CX500?
On the first DAE, the first 5 disks are considered "special" because they host the OS of the storage array.
One of those 5 disks is faulty : what is the procedure to change it?
By the way, what ...
0
votes
0
answers
20
views
Virt Block device resizing [duplicate]
I am attempting to expand the size of a virtual disk on an existing image. I was successful to expand the virtual hard disk and partition thanks to this guide, but noticed my virtual disk was still ...
5
votes
5
answers
1k
views
Is it safe to mark a disk ok, in a degraded RAID 5 array?
Intel Matrix Storage Console 8.9 showed a degraded array with one disk failure. Yet it offers the option to mark the disk as ok and rebuild the array? When would it be appropriate to do this? Does it ...
0
votes
0
answers
497
views
How can I extend xfs /boot partition with free disk space (centos 7)
I have just over 4GB of space free (/dev/loop0) and have added a second disk /dev/sdb how can I use either of these to extend /boot partition using all of it?
df -h
Filesystem Size Used Avail ...
0
votes
0
answers
213
views
How can I reduce the size of / and increase /boot (CentOS7)
The /boot partition keeps getting filled up during updates how am I able to reduce the size of / and then increase /boot by 5GB?
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs ...
0
votes
1
answer
560
views
Does Cassandra rebalance the data after inserting additional disks?
I'm running a Cassandra cluster with 5 nodes, each having 10 1Tb disks (JBOD). Currently, one of the nodes is in the problematic situation where a large compaction can no longer succesfully complete ...
7
votes
3
answers
10k
views
Get exact size in bytes of a disk & partitions in windows
I'm using dd (under cygwin) to copy a shadow image of a disk in windows. Shadow copy will only give me a partion, so what I am doing is:
1) using dd to grab the disk header (32k on Win2003)
2) using ...
1
vote
1
answer
289
views
CouchDB deleted database shards
Currently running clustered CouchDB v3.1.1 on an AWS EC2 Instance
q=2
n=3
Number of Nodes: 1
I have moved the database directory to another drive on my VM. But can't find any on the documents ...
1
vote
1
answer
335
views
Atop shows MDD stuck at 100%
After investigating a load spike on my CentOS 7 server, I ran atop and noticed something odd.
It is reporting MDD for my logical volume (md127) maxed out at 100% all the time.
The other disk tests I ...
0
votes
1
answer
2k
views
How to convert my hard disk PartitionStyle from GPT back to RAW in Windows 10
For testing purposes, I need my hard drive on Windows 10 machine to be in a RAW partition style format.
It is currently in the GPT partition style.
The hard drive is a secondary hard drive and does ...
1
vote
0
answers
1k
views
From mdadm raid to LVM (raid or mirror) decisions and how to monitor
We are migrating some server from linux raids (0 and 1) to LVM with stripe or mirrors.
At the moment our systems are mainly configured something like
| /tmp - /home - /others
|------------------------...
0
votes
1
answer
580
views
azure attach read only disk
i am running forensic experiment on azure and need to use one machine for the experiment and a different machine for the looking at the content. the experiments rely on registry and other elements and ...
5
votes
3
answers
8k
views
(LVM) Cannot restore Volume Group with 1 PVs marked as missing. Couldn't find device with uuid, but the pv exists and blkid finds the same uuid
This problem is on a kvm/qemu hypervisor with CentOS 7, where we host multiple virtual machines.
The Disk /dev/sda( 1918.2 GB) is a raid6 LSI MEGARAID.
[root@mia3 ~]# fdisk -l
Disk /dev/sda: 1918....
1
vote
0
answers
129
views
Increase EXT4 size on Debian whilst preserving Data in a VM?
I've been trying to increase the partition size on one of our servers as it was created years ago and was set too small. I've increased the size in the VM that hosts this but now I'm trying to get ...
0
votes
1
answer
111
views
How to verify if a disk was ever written to
How can you verify if a disk is fresh and has had no write from the factory? I have a client that needs to make sure that the disks he revived are cleaned and weren't tampered with from the time it ...