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
8
votes
1 answer

Mount XFS partition with < 4k block size

I have an XFS partition with a 64k blocksize. But I can only mount it in Ubuntu 10.10 when the blocksize is the default of 4k. How can I mount a partition with the larger blocksize? This works: sudo mkfs.xfs /dev/sdb1 -b size=4k -d agcount=32 -l…
ensnare
  • 2,212
  • 7
  • 24
  • 40
8
votes
2 answers

Ext4 partition bigger than 2TB?

Is there a way to make partition bigger than 2 TB on ext4 file system ?? Im trying to do that on debian but get message Partition size can not exceed 2TB ...
B14D3
  • 5,188
  • 15
  • 64
  • 83
8
votes
3 answers

centos 100% disk full - How to remove log files, history, etc?

mysqld won't start because disk space is full: 101221 14:06:50 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28) 101221 14:06:50 [ERROR] Can't start server: can't create PID file: No space left on…
kopeklan
  • 169
  • 2
  • 2
  • 6
8
votes
6 answers

So what do we use instead of PartitionMagic now that Symantec's killed it?

Apparently, since the last time I had to do a lot of playing with partitions and images, Symantec acquired, neglected, and killed off PartitionMagic. (Yeah, it's been a while.) What, then, are we meant to use instead, that gives us that general…
chaos
  • 7,483
  • 4
  • 34
  • 49
8
votes
2 answers

Is it possible to resize mounted partition over ssh?

Background: I was given SSH access to a Ubuntu 20.04 VPS that has root partition of 5G (sda total 25G). VPS provider says Linux admin can resize the /dev/sda1 partition. $ sudo fdisk -l && df -h Disk /dev/sda: 25 GiB, 26843545600 bytes, 52428800…
Tanel Tammik
  • 191
  • 1
  • 4
7
votes
2 answers

Hetzner's installimage script, RAID1 hard drives + SSD

I just purchased a server from Hetzner, with two 4TB hard drives and one 1TB SSD. I want to setup the two hard drives (/dev/sda & /dev/sdb) in RAID1 and install the OS on them, and have the SSD (/dev/sdc) as an extra drive. Until now, all my…
Tim Autin
  • 273
  • 1
  • 2
  • 10
7
votes
13 answers

Why have multiple partitions on a windows server?

With my IT outfit, we have templates to deploy servers with a dinky C drive/partition (10GB) and a larger D drive/partition. Why do this? Windows (at least until recently and at that minimally) has no real use of dynamic mount points in general…
Mike T
  • 271
  • 1
  • 4
  • 11
7
votes
1 answer

Invalid block device mapping: Invalid device name - Creating an AMI from an Instance Store-Backed

I'm trying to create an AMI from an instance store-back instance but I'm getting "Invalid device name" error at the time when I try to register the AMI. I'm following this…
dreamer
  • 171
  • 1
  • 1
  • 3
7
votes
4 answers

Primary vs extended partitions on Linux

Is there any performance difference on high-disk usage scenarios, between primary and extended disk partitions? Thanks.
SyRenity
  • 3,179
  • 11
  • 57
  • 79
7
votes
5 answers

Resize debian /tmp partition

My /tmp partition keeps running out of space on a very large SQL query. How can I make the /tmp partition bigger? Thanks Tom EDIT: Here are the outputs from the requested commands blkid /dev/sda1: UUID="e8604436-53ea-4a05-9459-6c498cf19a1a"…
Tom
7
votes
3 answers

How to integrate /home back into main partition, then grow partition

I made a mistake in setting up one of our XenServer-based Linux VMs. I created a separate swap (good) and a large separate /home directory (bad) when really it should have been a large separate /var directory instead. Now that /var has almost…
stet
  • 73
  • 1
  • 1
  • 3
7
votes
3 answers

is there any advantage mounting an LV by UUID instead of by path?

I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...). I see a clear advantage in terms of reliability using the UUID for…
Carlos Campderrós
  • 773
  • 2
  • 6
  • 17
7
votes
6 answers

LVM logical volume partition corrupted after lvreduce

I encounter the problem when I try to shrink one logical volume. I took the actions as following steps shown below: # unmount /home # lvreduce --size -100G /dev/vg_dev/lv_home # lvdisplay /dev/vg_dev/lv_home --- Logical volume --- LV Path …
James Tang
  • 171
  • 1
  • 1
  • 3
7
votes
1 answer

Raid 1/10: Kernel panic- not syncing: attempted to kill init

I have setup Raid 1 & Raid 10 in Virtual Box for learning purpose. The following Partitions for 4 Hard Drives: I make a 100mb partition (/boot) on four drives and make that a raid 1 partition. Then with the remaining space on each drive, I've setup…
I'll-Be-Back
  • 693
  • 3
  • 10
  • 25
7
votes
4 answers

primary partition limit on Linux

I'm going to buy a server to host an Oracle database. The server will be running Red Hat Enterprise Linux 5. The server will have 6 hard drives. I know there is a limit of 4 primary partitions in Linux. Here is my question: Is the 4 partition…
user28237