All Questions
Tagged with centos partitioning
60
questions
0
votes
1
answer
367
views
Freshly Provisioned Cent-OS occupies a lot of space for "/dev/mapper/centos-root"
I created a fresh VM, however I started facing space issues as soon as it got created. From the du and lsblk command I see /dev/mapper/centos-root is occupying a lot of space. I tried running tree ...
0
votes
1
answer
176
views
Recovering RAID 6: drives are ok, but partitions are "lost"
I faced strange issue with my RAID 6 array (8 HDDs, mdadm). Accidentially 3 drives were disappeared from it, with corresponding result - array has been ruined, but - all 8 drives are perfectly fine, ...
0
votes
0
answers
122
views
How can I recover my data after I changed formatting type?
To better explain what is wrong now with my harddisk let me tell you the series of events:
I was trying to expand a CentOS root partition. In order to do that I first tried to unmount and remove the ...
0
votes
1
answer
7k
views
How to enlarge home directory on CentOS 7
I have an issue with the storage of my virtual machine which is running on CentOS 7. I'd like to enlarge the home directory which is currently completely used but there is clearly free space on the ...
0
votes
1
answer
1k
views
How can I extend / dev / sda6 is it possible?
I need to extend / dev / sda6 on other occasions and used the following guide (https://www.miarec.com/doc/administration-guide/doc1012), adding a new disk to the vm, but apparently it is not ...
0
votes
2
answers
898
views
Merge partition (CentOS 7)
I have CentOS 7 at VM and I want to merge /dev/sda3 with /dev/sda4 (recently created PV). Output of fdisk -l listed below:
Disk /dev/sda: 24.7 GB, 24696061952 bytes, 48234496 sectors
Units = sectors ...
0
votes
1
answer
285
views
Centos/RHEL 7 - MBR with an extended partition > 2T
Studying for the RHCSA and I've been trying to find an answer to a question thats been stuck in my head...
My understanding is for MBR you can have a total of 4 partitions which each cant be > 2TiB......
1
vote
1
answer
5k
views
Error checking storage configuration (centos 7)
I tried to install linux centos 7 (dual boot), this is the first time i install linux so i've been following some tutorial. In the installation destination I've got an error message Error checking ...
0
votes
1
answer
296
views
Which partition is the CentOS Operating System location?
When I install the CentOS6 operating system, there will create /boot, /, and swap partitions.
I want to know which partition is the operating system location?
such as if the CentOS OS break down, I ...
9
votes
3
answers
2k
views
Partition disappeared after shrinking
I am using Windows 10 on an old Pentium Laptop. It had 4 partitions:
C,D,E (System Reserved) and F
I wanted to created unallocated space for CentOS.
I used Windows 10 Disk Management to shrink C: ...
2
votes
1
answer
9k
views
How do I format an NTFS drive on CentOS 7 so that I can also use it in Windows?
We have a LIDAR system that collects data in the field. The computers that process the raw data are Windows computers so we use NTFS. However, the LIDAR system itself runs CentOS 7. Normally this ...
2
votes
0
answers
493
views
Linux CentOS 7 doesn't allocate over 1024 KiB space for /boot partition
So this is a problem, that I have encountered the second time now.
I am having machines here running dual-boot on Windows and Linux OS. I have managed to successfully install dual boot systems ...
1
vote
1
answer
2k
views
Change default swap disk in Centos7
We disabled older swap space (disk) that already mounted in /dev/mapper/centos-swap to increase size of the root(/).
Then we create new swap file in /dev/sda3:
# lsblk
NAME MAJ:MIN RM ...
1
vote
1
answer
802
views
Resize /dev/root on CentOS 7.4 [duplicate]
I'd like to give /dev/root more space on my CentOS 7.4 system.
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 20G 18G 302M 99% /
devtmpfs 7.8G 0 7.8G 0% /...
0
votes
0
answers
87
views
Why I can't utilize my 2nd 1TB Hard drive in VESTACP?
I have an server with the following specifications
Intel Core i3-530 2.93 GHz
4GB RAM Storage
2x 1000GB HW RAID
CentOS 7.2, 64 bits
with NO RAID
I installed VESTA CP. It works OK but I have a little ...
0
votes
0
answers
192
views
CentOS 7 : How to increase disk space with additional disk so as if there was only one disk?
I have a VPS running CentOS 7 with an original 10 GB disk on which everything is installed /dev/vba1and formatted in xfs.
I ordered from my provider an additional 50 GB disk that I need to format and ...
2
votes
0
answers
27
views
Vboxmanage resize HDD but not the real size? (CentOS Guest, Windows Host)
I have this situation. whereas the actual is 7.62 GB then i tried to execute the steps given from here Geekwebsite. to make it bigger to 14GB (which is 13.92GB)
Everything smoothly working... until ...
1
vote
1
answer
8k
views
How to give permission to user after mounting a hard disk on Centos 7?
I have a HP Microserver gen 8 that i'm using as a NAS at my home, with Centos 7.
And i just got a new hard disk 2 TB, after i installed it in the bay, and rebooted the system.
I've used fdisk to ...
0
votes
1
answer
1k
views
Move Linux Partitions, Dual Boot with windows
I'm not thinking about Expand Linux Partitions...
I need Shrink (one, the larger) and move it (two, with the swap)...
Here my HD from Windows View (Disk Management)
Now, I want to reduce the last ...
0
votes
0
answers
1k
views
Why does the output of `lsblk` and `df -h` seem to conflict?
I'm trying to create a directory /mnt/data that will be mounted on to /dev/mapper/centos-home, since that's the biggest partition. The output of lsblk looks like this:
NAME MAJ:MIN RM ...
3
votes
1
answer
321
views
Resize LVM on KVM CentOS 6 VM
I've got a base image that I'm booting my VM's from. The base image is only 1.5GB. Different VM's will have different requirements for disk space. I've setup the VM with the default setting:
VolGroup
...
3
votes
1
answer
12k
views
CentOS 7 Linux resize filesystem after partition resize
I am running CentOS 7 on a HyperV virtual server. I recently increased the size of the hard disk from 32GB to 64GB and used GParted Live to extend the partition, which seems to have worked as shown ...
0
votes
1
answer
57
views
Centos fstab how to know what filesystem to put
i have installed centos with default settings, and i'd like to partition my server securely by modifying fstab. Thing is i don't know which filesystem i should put in the fstab file to reference eg. /...
0
votes
1
answer
196
views
How to change CentOS partition to LVM?
I have CentOS installed in a virtual machine, but its partition is in old-style, now, I need to change it to LVM. Is it possible? And how to do that? I don't want to reinstall the system.
The current ...
0
votes
1
answer
221
views
Centos 6.7 Partitioning command
The current storage on the server is
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 118G 109G 3.0G 98% /
tmpfs 2.9G 0 2.9G 0% /dev/shm
/dev/vdc 118G 40G ...
0
votes
1
answer
98
views
storing virtual box VMs in multiple partitions in CentOS
A CentOS 7 server has Virtual Box installed, and the default location of the Virtual Machines is in /root/VirtualBox VMs. Is there a way that I can put each virtual machine in a separate partition? ...
0
votes
2
answers
2k
views
Resizing LVM partitions on a live CentOS 6 server
I currently have the following partitions:
ACTIVE '/dev/vg_server/lv_root' [50.00 GiB] inherit
ACTIVE '/dev/vg_server/lv_home' [1.76 TiB] inherit
ACTIVE '/dev/...
0
votes
1
answer
6k
views
CentOS 7: How to support a 3tb, 4tb, or 5tb drive, as a single partition, without UEFI
My CentOS 7 server is running on a system that is non-UEFI and I need to clone a 500GB HD to a 5TB HD to be used as the new boot drive. What is the cheapest, least time-consuming option to support ...
1
vote
1
answer
1k
views
Removing /tmp partition, what will happen?
We have a CentOS 6.6 server running, which is using a Raid0 on SSDs for the /tmp mount point (used for fast i/o). These SSDs need to be removed from the server, so the device where /tmp is pointing ...
10
votes
4
answers
10k
views
fdisk - do i need it or can i make a filesystem directly?
i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions.
If i intend to utilize the whole disk as a whole, is it still necessary ...
1
vote
0
answers
104
views
Add new partition to CentOS file system
I use a CentOS virtual machine on VMWare Workstation. I recently tried to increase the system hard disk memory for CentOS by tweaking the VM settings on VMWare Workstation. After that, I tried to ...
0
votes
1
answer
731
views
Merge two partition without gparted on Centos 6.*
I have been trying to merge two partitions on my centos 6 virtual machine. I have only command line access to this machine. My system look like this:
[x@x-y ~]$lsblk
NAME MAJ:...
0
votes
1
answer
2k
views
Resizing LVM Partitions
I'm trying to resize a couple of my LVM partitions. I have one that is 850GB (/dev/mapper/cl-home) and one that is 50GB (/dev/mapper/cl-root). I'd like to make it so that cl-home is 750GB and cl-root ...
1
vote
1
answer
617
views
No disk space on CentOS VM while my data is only 1.8G?
I am just beginning to learn some stuff on Linux. I have virtual machine on CentOS and suddenly my website does not coming up since morning and I get et internal 500 error while trying to login my ...
-1
votes
1
answer
78
views
Cannot partition my hard drive
I'm trying to install CentOS 7 on my laptop, but I've got a problem partitioning the hard drive. Though here's writen the there is 2.49 MB of available space and 476.94 GB of total space, when I try ...
1
vote
1
answer
332
views
Where is Linux root filesystem on an attached drive
I have a CentOS system with many configurations/applications installed on a hard drive. I have installed a new CentOS system on a different hard drive. I have booted from the new system/hard drive and ...
5
votes
2
answers
468
views
How many drives do I have?
This is the first time I ordered a dedicated server with 3 HDDs and I am quite confused. My limited knowledge tells me that
/dev/sda
/dev/sdb
/dev/sdc
are the 3 drives that I actually have.
But, ...
0
votes
2
answers
2k
views
CentOS 7 and OpenSuSE 13.1 (so far) can't see NTFS partitions during installation
The title is rather self explanatory, but here some more details.
I'm currently running my machine with Windows XP x64 (read Windows Server 2003) and I was planning to install CentOS 7 on the same ...
0
votes
1
answer
469
views
Can I repartition Centos 6 without losing any data?
I have 10 GB space in my /home partition. I am now running out of space in this partition. But I have enough space in my / partition. Is there any way to increase my /home disc space by transferring ...
1
vote
1
answer
279
views
Extend Existing Linux partition
I had a dual boot hard drive with Windows / Centos 6.5.
I no longer needed Windows so I removed the /dev/sda1 and /dev/sda2 via fdisk. It now looks like:
Device Boot Start End ...
1
vote
1
answer
16k
views
merge two partition with different disk in centos
I have a lite centos 6 on my system. I am going to resize one of its partition. Here is the file system of this system:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_hadoop1-...
0
votes
2
answers
1k
views
Used 4 primary partitions, now need to add more space
I currently have CentOS 6.5 running on a VM in a live environment. The need to increase space has arrisen several times, and after following guides online it has worked successfully until today.
...
1
vote
2
answers
3k
views
Has anyone encountered this error? read error on /dev/sdc - cannot read sector 0?
/dev/sdc: read failed after 0 of 1024 at 0: Input/output error
/dev/sdc: read failed after 0 of 1024 at 2499819012096: Input/output error
/dev/sdc: read failed after 0 of 1024 at 2499819130880: ...
1
vote
2
answers
17k
views
How can I merge partitions in Linux without losing data?
So, I'm working on a couple VMs for a high-profile site, and they have /home partitioned separately from / (root). The owner has asked me to merge the two partitions so that /home is not partitioned ...
0
votes
2
answers
812
views
move folder on a linux partition
my os is CentOS 6 running as a virtual machine under ESX. I don't know why /home folder is mapped to the biggest partition. I want my own folder /data (which is next to /etc, /root, /home and others) ...
0
votes
0
answers
3k
views
How to resize disk partition CentOS
I have parallels mac os desktop and I run centOS. My problem is that I can't make this Disk /dev/mapper/vg_host-lv_root bigger.
Disk /dev/sda: 549.8 GB, 549755813888 bytes
255 heads, 63 sectors/...
0
votes
1
answer
194
views
Login prompt does not appear after editing /etc/fstab
I am currently using CentOS 6.4. I've added 4 entries to the /etc/fstab to auto mount 4 disk.
/dev/sdc1 /usr/bin ext4 defaults 0 2
/dev/sdc2 /usr/sbin ext4 defaults 0 2
/dev/...
1
vote
2
answers
3k
views
Not enough space on disk when installing second Linux
I have the following problem: I installed a CentOS version 6.4 on my new computer that has 1 TB of HDD and I decided to use all the available space in this disk.
Right now, I want to install a ...
3
votes
2
answers
4k
views
Creating a USB stick for installing centos 6.x using DVD1 and DVD2 iso files
First, we create 2 partitions on the USB stick that
is let's say 16GB.
first partition is let's say only 1GB
and the second partition is the rest of what is available.
after we "w" write the changes,...
1
vote
1
answer
4k
views
How to partition a USB drive into 2 sections for Centos ISO files
I actually once did this but forgot how it's done and also did not take notes.
i think i need to create 2 partitions.
one needs to be 500 mb and the rest needs to me whatever is left in the USB ...