Questions tagged [partition]

A partition is a means of logically dividing a computing resource (most frequently disk storage)

Partitions are a way to logically divide a computing resource. Most frequently this is applied to MBR Disk storage. For instance a hard drive or other storage media so that each partition is logically independent of one another. This can be done for a variety of reasons including security, separating multiple operating systems, utilizing multiple file systems, or other benefits realized by the logical separation.

1109 questions
0
votes
2 answers

How to extend hard to an LVM without disrupting current data in CentOS

We have a CentOS server that has 2TB of disk. When we got the server for "god knows why" the partitions were like so: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk ├─sda1 8:1 0 2M 0 part…
Hossj
  • 101
  • 1
0
votes
1 answer

Mount a directory on a new partition or disk

I would like to know how to mount a directory on a new partition or disk. I have a directory, example: /u01/app/mylab/data Inside this I have several files and directories, with specific permissions of other users and groups. This directory is short…
0
votes
1 answer

Ubuntu Not Detecting Free Space In Root Partition

My server has a 40GB HDD and runs Ubuntu 18.04. The output for the command: sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL returns: NAME FSTYPE SIZE MOUNTPOINT LABEL loop0 squashfs 91.3M /snap/core/8592 loop1 squashfs 91.4M…
0
votes
1 answer

How to move /var back to Root from a different filesystem

I need to move my /var (dev/sdc1) back to the / (dev/sda2) from a different file system. I've resized the / partition and want to move /var back to / partition and resize /dev/sdc1 filesystem to mount another directory /data002 Currently, df -h and…
Sam89
  • 11
  • 4
0
votes
0 answers

Recovering a btrfs partition

I'm attempting to recover (what I'm told is) a btrfs partition from a RAID5 array and I'm a bit stuck on the next step... The reason I mention it was RAID5 is because the array way deleted in the controller software (!). I was able to recreate…
16shells
  • 1
  • 3
0
votes
0 answers

Disk with no primary partition mounted on disk-name itself

I have a ec2-machine setup with an EBS attached of size 200 GB. I obtain the following with the commands I perfomed Screnshot for the lsblk and df -hT commands As I could figure out from these, there seems to be no primary partition surprisingly and…
0
votes
1 answer

how important is a partition schema for xen guests?

i recently came across this post on the importance of partitions, and was impressed, but is this relevant for servers running as guests in xen? if so, how/what do i partition? Thank you
erik
  • 89
  • 1
  • 1
  • 2
-1
votes
1 answer

/dev/mapper Partition 1 does not start on physical sector boundary

How to fix "Partition 1 does not start on physical sector boundary" for "Disk /dev/mapper/isw_ddfdcbhjcj_Volume0"? sudo fdisk -l Disk /dev/mapper/isw_ddfdcbhjcj_Volume0: 935.4 GiB, 1004400541696 bytes, 1961719808 sectors Units: sectors of 1 * 512 =…
wuwuming
  • 1
  • 2
-1
votes
1 answer

0B size partition

I have one 0B partition in my disk as the 2nd partition in my CentOS machine. How can I delete it? In fdisk , it shows could not delete the partition. I want to increase vda1 size using growpart command.
Jevin Gala
  • 59
  • 9
-1
votes
1 answer

Mount options for a deep-learning workstation

So, my university advisor assigned me to setup a deep-learning workstation in our laboratory to do some research. But it's my first contact with linux and system administration and I'm feeling a bit lost in some aspects of the installation. One of…
-1
votes
1 answer

Extend lvm logical volume

I have to increase an lvm partition, then the fact is this I have an lvm centos with 3 file systems (you see them in the image) then the first one is /dev/mapper/centos-root which is what I should increase while /dev/mapper/centos-home which is what…
riki
  • 103
  • 4
-1
votes
1 answer

How can I check that all files on copied partitions are OK?

I've moved my OS and copied another data partition to new SSD with AOMEI Assistant's "Migrate OS to SSD" and "Partition copy" respectively. How can I check that every copied file and partitions in general are OK? Is Windows 8.1 disk check tool…
JustLogin
  • 101
  • 1
  • 1
  • 3
-1
votes
1 answer

Changing the filesystem name in df

Currently in our code we check for disk space usage to stop doing something if the filesystem is above 95% in disk space usage. The way I'm checking for that is : diskusage=$(df -P | grep "/dev/mtdblock\\|/video" | awk '{ print $5 }' | sed…
David Ma
  • 1
  • 1
-1
votes
1 answer

merge space on linux - from /data to / (root)

when i check space on centos server i see # df -m Filesystem 1M-blocks Used Available Use% Mounted on /dev/md1 58883 54328 1558 98% / tmpfs 15946 0 15946 0% /dev/shm /dev/md0 283 40 …
arpa1
  • 1
-1
votes
1 answer

Need to extend var partition

My /var is full and need to extend its size. I tried different ways but could not succeed. Cent os 7 with two 1 TB HDD RAID 1 Configured. I have added 2 TB HDD to add space for /var. **# output for fdisk -l** Disk /dev/sda: 1000.2 GB, 1000204886016…