1
vote
2answers
38 views

Cant find my harddrives in ubuntu installation?

I was trying to setup a Microserver with two 1TB harddrives as a software RAID. Somehow it didnt work and now ubuntu 14.04 is not starting. My problem is that I dont see the drives anymore when I go ...
0
votes
1answer
40 views

How to rescue deleted partition table on drive?

I accidentally dd the first 512 bytes using dd if=/dev/zero of=/dev/sdb bs=512 count=1 and the partition table is now gone. Is there ANY way to re-create the partition table. My hard drive is ...
-2
votes
0answers
18 views

Can I allocate free space and create new partition from mounted logical volume? [duplicate]

This is the current state of my logical volumes: # pvs -o+pv_used PV VG Fmt Attr PSize PFree Used /dev/sda2 vg_ecomwise lvm2 a-- 465.27g 0 465.27g # lvs -o+lv_size LV ...
0
votes
0answers
35 views

partition turned read only after mysql crash

I am not able to write on a particular partition. The mysql data directory is hosted on that partition and it suddenly became read-only when mysql crashed on a query. [root@ESERVER new_dir]# > ...
1
vote
1answer
32 views

how to add a raw device on RHL

I am using a server to which someone added a harddisk. I am struggling to get this to work. I am a regular Linux user (but haven't done this stuff before). I have googled up and tried to follow the ...
-1
votes
1answer
67 views

Created 100GB ec2 instance, but only shows 10GB?

I just created a new EC2 instance of 100gb with only 1 storage disk. However, my df -h output shows the following : [root@ip-10-252-37-164 ~]# df -h Filesystem Size Used Avail Use% ...
0
votes
1answer
99 views

Resizing Partitions on Live RHEL/cPanel Server

I've resized many partitions over the years on Linux, Windows and Mac OS X -- but always using a GUI. However, the time has come where the preset partition sizes my data center placed on my server ...
0
votes
1answer
53 views

Mount /usr on different partition

I want to mount /usr directory on different partition and keep the same owner on all files and subdirectories in /usr directory. I want to mention that this issue is for linux ec2 machine where I ...
0
votes
2answers
39 views

Why the root partition is not reduced after attaching new partition to the /var directory?

This is my disk state before attaching new virtual disk: Filesystem Size Used Avail Use% Mounted on /dev/xvde1 4.9G 4.6G 1.3M 100% / tmpfs 828M 0 828M ...
5
votes
1answer
331 views

Are ZFS pools or LVM volume groups more reliable for utilizing many partitions?

When deciding whether to use LVM volume groups or ZFS pools in configuring new file servers, what needs to be considered? Is there a "better" choice in the realm of multi-purpose file servers? Unlike ...
2
votes
1answer
53 views

How to add partition table to existing EXT4 filesystem

I have software RAID6 on 8x3TB disks (18TB), there is filesystem od device /dev/md1, but EXT4 can`t be bigger than 16TB so there is 2TB of free space. I would like to use this space. My first idea was ...
0
votes
1answer
59 views

size of extent on LVM2

in LVM1 there was a limit of 65k extends. So size of extent had to been chosen carefully between wasted space on partitions (to big extent) and maximal possible size of logical volume (too small ...
0
votes
0answers
60 views

What is the best way to resize the “/” mount point that is not LVM?

Lately I am trying to update the packages in my Centos (Physical Box) and got error about not enough space. What is the best way to resize a mount point that is no LVM? Follows are some information: ...
0
votes
1answer
110 views

Mounting individual “partitions” from a ddrescue'd whole-device image file?

I ddrescue'd from a sick drive device into an image file (I had enough free space, but not a spare device to copy onto). It seemed to go quite well, but now I can't find how to mount just one ...
-2
votes
3answers
90 views

Which directories in Linux must be part of the root filesystem?

I'm building a few virtual machines under KVM where the base system will be an image (haven't decided specifically which format yet), and all of the remaining system files will be other partitions ...
1
vote
2answers
60 views

Splitting web project across multiple partitions on Linux (SSD, HDD and RAM Disk)

I've got a web project that pretty much consists of three parts: Code, Assets and Cache. I'm thinking of splitting it through multiple drives - Put my whole Code into SSD partition, Assets onto big ...
1
vote
1answer
62 views

Shrinking Linux Partition and VM's

I have a Centos 6.2 x86_64 Virtual machine running on an EXSi 5.1 Server. It currently use 320GB of space which is way too much space and need to be shrunk to about 80GB. What I need to do is reduce ...
0
votes
0answers
51 views

Raid partitions not listed in /dev

I've assembled software raid1 /dev/md1, and made two partitions /dev/md1p1 and /dev/md1p2. Now even after reboot I can't see these two in /dev. Why? (udev service is running) #fdisk /dev/md1 ...
-2
votes
1answer
89 views

increase size of temp drive in centos 6 64bit [closed]

df -h Filesystem Size Used Avail Use% Mounted on /dev/md2 1016G 19G 947G 2% / /dev/md1 496M 149M 322M 32% /boot /dev/md3 4.0T 238G 3.6T 7% /home /var/tmpMnt ...
2
votes
1answer
1k views

Unable to resolve data corruption warning with fcsk

In order to create a contiguous space for my file system to grow, I created a new EFI System partition at sda1 so that I can migrate it from the current partition at sda5. The move itself has been ...
0
votes
1answer
138 views

Is it a good practice to put all partitions into LVM? [closed]

I would like to know what is the best practice regarding the partitioning policy, especially when it comes to Logical Volume Manager. Is it better to put the entire partitioning into LVM or use it ...
2
votes
1answer
657 views

Repair corrupt GPT partition on graid mini disk

I'm trying to repair a GPT corrupt partition table on a graid mini 1TB external hard drive. Here is the report from gdisk: root@philippe-desktop:/home/philippe/thomasdisk# gdisk /dev/sdb GPT fdisk ...
4
votes
1answer
67 views

Why does fdisk have a discrepancy in translating units between cylinder and sectors?

We were re-partitioning a virtual disk to increase the size of an LVM's physical volume. This is how we initially performed this: $ fdisk /dev/sdb # delete partition fdisk> d ? 1 # create new ...
1
vote
3answers
98 views

Moving partitions to the root partition

I am currently stuck with a restrictive partitioning scheme that makes my partitions fill up. It looks like this: /dev/sda7 870G 315G 511G 39% / /dev/sda6 2.0G 271M 1.6G ...
-1
votes
2answers
219 views

When should an EFI partition be used?

If I only deal with Linux servers and Linux laptops, when should I create an EFI partition? From my understanding an EFI partition on a Linux server ensures a standard for the disk layout, where EFI ...
2
votes
4answers
135 views

Partition required for ext4 filesystem?

I read on the arch wiki that it is not recommended to partition a disk before creating the ZFS filesystem on it. I searched but did not find any such statement about ext4. So my question is: can I put ...
0
votes
0answers
84 views

Backup Windows (ntfs) partition at runtime, restore using linux live distribution?

I need to backup a whole ntfs partition daily using a scheduled task. I want not just the content of the disk, but the partition itself to a preferably compressed file and then restore it 'offline' ...
1
vote
1answer
412 views

Resize partitions used in Debian software RAID 1 mirror

I have a simple RAID1 setup with a few drives. I've realised that one of the partitions is not aligned to a cylendar boundary and I'm concerned that this is a bad thing that will cause me grief at ...
0
votes
2answers
237 views

Duplicate partition table in (Debian) Linux

A disk failed in a software RAID array and I'm trying to replace it. I've done this before without a hitch but this time I'm getting an error when trying to duplicate the partition table. I'm using ...
1
vote
3answers
526 views

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 ...
1
vote
6answers
1k views

Linux Debian Primary Partition (/) of Server Full, How to Make space for it

How do I safely free some space on my root filesystem? df says: Filesystem Size Used Avail Use% Mounted on /dev/md1 9.7G 9.2G 0 100% / tmpfs 3.9G 0 ...
0
votes
1answer
109 views

Add new partition to Centos hard drive

My hard drive currently has (I believe) 2 partition; boot (sda1) and everything else (sda2?). Some of the hard drive is also being used as swap memory, but I don't really understand how that effects ...
1
vote
1answer
312 views

Parted automatically adding a filesystem on mkpart

I created an ext4 file system on /dev/sda1 yesterday to test the drive before trying to add it to a RAID. It's a 3 TB drive, so I'm trying to use parted to do all my partition stuff. I've done an ...
0
votes
2answers
433 views

No space left on device

I have a vServer and I can't upload/copy files. It says "no space left on device" but I have like 130 GB on my hdd. This is what it shows on: df -h / df -h / Filesystem Size Used Avail ...
0
votes
1answer
102 views

How to resize LVM group wheen 4 partitions already in system?

Centos, I have already expanded Virtual disk in Vmware, now i need to add additional space to LVM Group but most tutorials out there are saying to create new partition and add it to LVM. Since there ...
1
vote
1answer
100 views

Setup 1x RAID5 array with multiple LVs and differnt filesystems?

Centos 5.9 - 2.6.18-348.3.1.el5 i686 Raid5 - 4 Disks + 1 Spare (all WD RED 3TB) Does it make sence to create multiple LV within the same VP and configure them as differnt filesystems: Example: LV1: ...
1
vote
3answers
7k views

How to recover data from a corrupted ext3 partition?

A server of mine had a drive failure of some sort which caused the OS (CentOS 5) to crash and stop working (it refuses to boot). So we put another drive with a working OS and from there we try to ...
1
vote
2answers
307 views

can't resize root at Ubuntu Server 12.04 LTS

I've done lvresize -L 264G 101/root (was 15GB) but /dev/mapper/101-root shows 13Gb. What am I doing wrong? I really appreciate the help! root@server1:/home/user# df -h Filesystem Size ...
1
vote
4answers
1k views

Re-sizing disk partition linux/vm

I VM Player running a linux guest and I was wanting to know how do I expand the disk? In the VM player I gave more disk space but I am not sure how to mount/expand/connect the new disk space to the ...
0
votes
4answers
245 views

How to properly change mount point of the folder? [closed]

I have a folder(mostly with postfix user mailboxes-homedirs) mounted on a disk A(raid1) and I want to move it from disk A to disk B(also raid1). Currently it is like: /h1(folder) /md120(diskA) and ...
0
votes
1answer
541 views

Resizing partitions/moving /u01 oracle directory

I've got a test server recently set up at work which has oracle installed under /u01 - but without realising it, I've set the root partition to be ~50GB, so have filled the partition very quickly once ...
0
votes
3answers
282 views

What is the correct way to partition a linux server? [duplicate]

Possible Duplicate: How many and which partitions should I create for a linux server? I just bought a dedicated serveur with 2TB of storage. I'll install Debian on it, but I'm reconsidering ...
0
votes
2answers
318 views

Trouble enlarging a lvm2 partition - “New size matches existing size”

I have a VM running Ubuntu. It used to have 30GB of space; I need to increase the size of the data partition, a LVM2 one, to 50GB. I changed the size in the VM's management console and this is what ...
0
votes
1answer
40 views

Is there a hook that I can use to detect if one of my hard drive partitions on my server is full?

I have a server with a partition that contains all the uploaded files from my users... It gets empty after the files received are send to the CDN. Everything works. But I am worried that one day the ...
0
votes
0answers
332 views

Ubuntu Server - Screwed up partition table?

So I think I've screwed my Ubuntu server after using PING (it's a tool like Norton Ghost) to try and create a backup image. Basically the system got to an unbootable state just with the grub ...
3
votes
1answer
178 views

kpartx verbose info: what does it mean?

When mounting images with the wonderful kpartx in verbose mode it displays some, likely very useful, information: # kpartx -av wheezy_cln.img add map loop0p1 (252:2): 0 131072 linear /dev/loop0 2048 ...
3
votes
1answer
335 views

Quantifying the effects of partition mis-alignment

I'm experiencing some significant performance issues on an NFS server. I've been reading up a bit on partition alignment, and I think I have my partitions mis-aligned. I can't find anything that ...
-1
votes
1answer
494 views

centos install / partitioning

I'm using NOC-PS to remotely install Centos 6.2 via KVM / IPMI. I'm going to install cPanel as well and they recommend this layout /boot (99MB) swap (2x server RAM) / (remainder) In the o/s ...
1
vote
1answer
112 views

Can LVM and Traditional Partitions Coexist?

Can you set up a machine in which different drives are formatted as either LVM volumes or as traditional partitions and mix and match the two? For e.g. have the LVM volume mounted as / and /home and ...
0
votes
2answers
1k views

Resize Debian in VirtualBox [closed]

I have a VM with one HD of size 3GB and I'd like to enlarge its HD to 7GB. So I execute this command on the host (while guest is shutdown): VBoxManage modifyhd debian.vdi --resize 7168 Then I run ...