Questions tagged [diskmanagement]
The diskmanagement tag has no usage guidance.
234
questions
0
votes
1
answer
15
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
25
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
35
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
79
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
0
answers
17
views
Spanned disk created from a single LUN?
Does this appear to you as a single 2 TB LUN (Disk 4), separated into two separate 1 TB partitions, then spanned together into a logical volume ('G')? If so, how was this accomplished? I am unable to ...
0
votes
2
answers
147
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 ...
3
votes
1
answer
687
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 / ...
0
votes
0
answers
14
views
I increased VM storage from Virtual Media Manager in VBox but it is not applied in VM
Here is how I increased the storage of the VM in the VBox interface:
I used Virtual Media Manager.
I increased the VM storage and apply.
When I click Information:
Format: VDI
Storage details: ...
0
votes
0
answers
355
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
0
answers
199
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
293
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 ...
0
votes
0
answers
31
views
iotop PRIO column is showing ?sys
How can i fix iotop to show PRIO correct value?
0
votes
0
answers
30
views
LVM temporary renaming root volume group
I have a somewhat disfunctional disk (call it disk B) with lvm which I wanted to inspect on another machine (both machines are virtual machines on Azure). I attached disk B to another machine which ...
0
votes
0
answers
32
views
How to resize KVM host VM os partition
I have resized my KVM VM host's OS disk partition. And i can see below information for the OS Disk.
# fdisk /dev/vda
Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until ...
0
votes
0
answers
30
views
how to list unmounted disks with limited tools and no sudo from a lightweight container
I have a container running that's based on an unknown linux distribution. it's very lightweight, very limited, and it's not running as root. I can see a host directory listed as mounted in the ...
0
votes
0
answers
260
views
Calculating the difference of size between fdisk and df
Say I have a 1TB SSD and I want to create a 400GB partition with ext4.
So I use fdisk and mkfs to achieve that:
#### fdisk ####
sudo fdisk /dev/sdb
# New primary partition, with partition 1 starts ...
1
vote
1
answer
5k
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
1
answer
31
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
191
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
128
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
225
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
1k
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/...
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 ...
0
votes
0
answers
311
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
126
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
354
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 ...
1
vote
1
answer
208
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
238
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
986
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
384
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 ...
1
vote
0
answers
60
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
90
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 ...
0
votes
1
answer
48
views
Debian/Ubuntu, inconsistency between S-ATA ports numbering and /dev/sdX lettering [closed]
The hardware situation is as such :
a motherboard (MSI X99A SLI Plus),
two (2) Samsung 860 Pro SSDs connected on SATA-1 and SATA-2 of the motherboard.
five (5) identical HDDs connected on SATA-3, ...
0
votes
1
answer
198
views
"Windows Storage" reports much more disk usage than Folder Properties
My IIS inetpub folder says it's using 2.52 Gb (2.64 Gb on disk) but when I analyse disk usage with Windows Storage it says the folder is 60.0 Gb.
Why is this happening and how can I get my 57.36 Gb ...
1
vote
1
answer
305
views
Unable to extend the volume, the option is greyed out
I'm trying to extend the D partition: with the new unallocated space, but it doesn't give me a choice, I've been looking at the Microsoft documentation and it indicates that it may be for these ...
1
vote
2
answers
2k
views
Windows server 2012 R2 VM doesn't see full space on virtual disk
I have a windows server 2012 R2 VM on vmware esxi 6.7. Have 2 virtual disks for C and D partitions respectively. Partition C - thin provision, part D - thick provision lazy zeroed.
I extended second ...
5
votes
3
answers
6k
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....
3
votes
2
answers
4k
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 ...
4
votes
1
answer
116
views
Oracle Exalytics X4-4 server - RAID 1 volume corrupted while data sync was going on
We replaced a failed drive in Oracle Exalytics X4-4 machine. Failed drive was replaced fine and rebuild started. But when rebuild reached at 70%, the main disk got a bad sector and the rebuild failed....
0
votes
1
answer
3k
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 ...
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
41
views
How to measure DPWD on VMware?
I want to know the amount of data read and especially written per day, per week, per month.
But how to achieve this on VMware?
The disk which are integrated differ. E.g. the disks are in SANs, NASs ...
0
votes
1
answer
302
views
Unattend installation not working - "We couldn't create a new partition or locate an existing one"
I can't seem to get an unattended installation to work it fails with:
"We couldn't create a new partition or locate an existing one. For more information, see the Setup log files."
1
vote
2
answers
1k
views
Where are "Debug Dump Files" located in windows?
Windows has a tool called "Disk Cleanup" (German: Datenträgerbereinigung).
There it lists "Debug Dump Files" which can be deleted.
Unfortunately it doesn't tell me which files are meant. It can't be ...
1
vote
1
answer
2k
views
Why Extend Volume is Grayed Out in Server 2012R2?
As seen in the screenshot, I can't expand my Basic Disk2 for Data2 Volume (F:). This is Server 2012R2 Virtual Machine, Unallocated space of 1TB was added to the VM Disk2 from vCenter Datastore. I ...
0
votes
1
answer
60
views
Could LVM creation format my disk?
I am new to LVM. I am Ubuntu user.
This is my disk
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 465,3G 0 part /
sdb 8:16 0 931,5G 0 disk
...
0
votes
1
answer
343
views
LVM Second Logical Extents is Missing
Edit 1: Just to clarify no data was written to the new extents. I know this because the admin grew the file system with fdisk right after doing the lvextend, he then rebooted for the changes to take ...
0
votes
0
answers
762
views
Get-Disk returns HealthStatus "Warning" and OperationalStatus "Other" for Compellent iSCSI volume
We utilize Dell Compellent storage and I'm in the process of developing a script to provision new iSCSI volumes to Windows servers using the Dell PowerShell SDK.
I've successfully provisioned a ...
1
vote
0
answers
242
views
Msft_Volume: multiple records for 'D:'
Im getting some strange results for Msft_Volume query
Get-WmiObject -Query "SELECT * FROM Msft_Volume" -Namespace Root/Microsoft/Windows/Storage
I see 'D' drive six times! I there any explanation ...