Debian :: How To Resize Partitions With LVM2?

Feb 20, 2010

Can someone help me understand by giving me the commands I need in order to shrink my "debian-home" logical volume by 10GBs and increase the size of my "debian-root" logical volume by that same 10GB of data? (Everything in that computer is ext4 including the /boot ... physical volume? (I think that's what it's called))I would REALLY appreciate it if someone could just give me the exact or approximate terminal commands that I would need to use. I assure you, I will never forget them

View 4 Replies


ADVERTISEMENT

Ubuntu :: How To Resize Lvm2 Partitions

Jan 7, 2011

I recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition?

View 1 Replies View Related

Ubuntu Installation :: LVM2: Resize The Physical Volume

Apr 11, 2011

I have a 500GB hard disk, /dev/sda. On it, there is /dev/sda1 for /boot, /dev/sda2 for an LVM PV (physical volume), and /dev/sda3 for another /boot (multiple Linux distros, one boot partition for grub legacy, another for grub2). so the LVM2 partition, /dev/sda2, is taking up ~465GiB. I want to add another OS (non-Linux), so I resized the *lvm2 physical volume* to 320GiB, successfully, using pvresize.

However, I now need to resize the partition so the lvm2 physical volume only just fits on it, ie to 320GiB. My plan of action is to use gparted (the partition table is GUID, so fdisk won't work), to first delete the partition from the partition table, then re-add it but this time with a smaller value (~320GiB). The problem is that I need to know exactly how many MiB/cylinders the physical volume is taking up. So, I run:

Code:

root@sysresccd /root % pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name vg0

[code]....

What one of these values do I need to set the new lvm2 replacement partition to?

View 7 Replies View Related

Debian :: How To Resize Ext3 Partitions / But No LVM From Debian?

Nov 27, 2009

Howto resize Ext3 partitions, but no LVM from debian?Can I use a tool like GParted?

View 7 Replies View Related

Ubuntu :: How To Mount Lvm2 Partitions

Feb 7, 2011

I have ubuntu installed on 2 hdd. one of my hdd is having a lvm. I am unable to acess the home partition created in this lvm from my other hdd. in fact it is not shown at all inside the explorer window, the whole lvm block itself. if u run disk utility that also does not show the lvm partitions as mounted. So what are the steps required to be done to access those LVM partition from the other disk.

View 1 Replies View Related

Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?

Apr 18, 2010

I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions

View 2 Replies View Related

Slackware :: Is It Safe To Resize Slackware Partitions After Removing Mint 10 Partitions?

Feb 17, 2011

I've reached a point in my Slackware journey where I feel confident enough to remove my Mint 10 linux. It used to be my 'go to distro' when I trashed my Slackware installation. Now, I have Slax on a USB and I think that is enough.Mint 10 occupies /dev/sda5 (root) and /dev/sda6 (home) while Slackware occupies /dev/sda7 (root) and /dev/sda8 (home).If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?

View 14 Replies View Related

Ubuntu Installation :: How To Resize Partitions

Jun 13, 2011

I'm dual booting Ubuntu with Windows7. Instructions I've found on how to resize partitions tell me to open gparted and shrink things from there. However, I can't seem to do this because:

-I can't expand the windows partition because i first need to shrink the linux partition
-I can't shrink the linux partition because it is mounted
-I can't unmount the linux partition because it is being used.

So how exactly do I expand my Windows partition?

View 1 Replies View Related

Red Hat / Fedora :: Resize Partitions Without Use Of A Live Cd?

May 1, 2009

Is it possible? I have a server that's colocated so a live cd isn't really an option. Everything I can find on resizing the partitions has said to use a live cd.

View 10 Replies View Related

General :: Resize Partitions Ubuntu 11.04

Jun 1, 2011

I am currently running Ubuntu 11.04 (narwhal), dualbooting with Windows 7. When I installed ubuntu, i gave it a small(er) partition size for it to use (10gb total for swap and main partition). I now find I have run out of room on my Ubuntu partition, and want to (if possible) shrink down my Windows partioion and move some of that freed space to Ubuntu to expand it.I tried to use gParted from a live Ubuntu CD, but I can't seem to move any unused space into the Ubuntu partitions. Am i doing something wrong?

View 2 Replies View Related

General :: Unable To Resize Partitions

Apr 22, 2010

I have a dual boot system on my Laptop running Arch Linux and Windows XP. I have the following setup on my Laptop.

View 2 Replies View Related

General :: Gparted Wont Allow To Resize Partitions At All

Sep 20, 2010

I installed linux to my whole hard drive. I want to make it a little smaller to dual boot windows just for games. Gparted wont let me resize my partitions at all.

View 5 Replies View Related

Server :: How To Resize Software RAID Partitions?

Aug 24, 2009

Googling tells you how to resize RAID partitions but not how to resize the underlying disk partitions. In my particular case, I initially sized a RAID array way too large - and when I added another disk to the array, I decided I was wasting too much space.I shrunk the file system, then "grew" the array (/dev/md2) to the smaller size, and resized the file system again to fit. However the actual disk partitions (/dev/sda2, /dev/sdb2, etc.) are still the original size - they are just mostly unused space.As I understand it, the superblocks are at the end of the partition. I believe this means the end of space used by the array on each device, so that the superblock moved to a lower block number when I shrunk the array. However it also means that I need to get the new physical partition size correct to avoid clobbering the superblock.

Is there an easy way to get any partition editor to shrink the physical partitions to the new array size?If not, is the superblock included in the space allocated to the array so that the next partition can start in the very next block, or is it added after the array so I'd need to allow some space for it?

View 3 Replies View Related

Ubuntu :: Resize Partitions - Thought Knew Not Working?

Jan 21, 2010

My ubuntu partition is tiny (~9 GB, ~5 free) and my vista partition is big (~100 GB, ~60 free). I need to reverse this (so I can move all my documents and music (~40 GB) over to the ubuntu portion from the external HD they're on now). I'm using karmic. I installed gparted, but I couldn't figure out how to make it let me access the resize option.

So I booted with the karmic live CD and used gparted there. It let me set up the shrink on the vista partition, but gave me an error in actual running (I'll post the error details at the bottom).

The error details seem to be saying that I should try shrinking it less? But I was already leaving more than 10 GB free space there, no? Does anyone know how to help me past this sticking point here? This is one of the vital steps for me in switching over to using ubuntu as my main OS, and hopefully leaving vista behind.

[Code]...

View 1 Replies View Related

Ubuntu :: Windows XP / Dual Boot - Resize Two Different Partitions?

Jan 6, 2011

I am running a dual boot with XP and Ubuntu - what I want to do is increase the partition size of Ubuntu and reduce XP. When I run " G Parted" it shows both partitions with Xp being NTFS. I guess the boot loader is Grub because Ubuntu takes priority at Boot. I cannot persuade G Parted to allow me to resize the two different partitions. I am using the G Parted Live CD.

View 1 Replies View Related

Ubuntu :: After Partitions Resize Grub Cannot Boot Win7

Apr 22, 2011

I've resized partitions with some program - perhaps even gparted - but from Win7. partitions are indeed resized, but now I can't boot Win7, grub says:
"No such device found - No such partition found".
I tried to use some advices on similar problems I found here (like adding GRUB_PRELOAD_MODULES="part_msdos" to etc/default/grub and running grub-mkconfig after), but nothing helped. I guess I could restore win7 with installation dvd but I want to fix GRUB (and have both ubuntu 10.10 and win7)

Code:
john@john:~$ sudo fdisk -l
[sudo] password for john:
Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd576590b

Device Boot Start End Blocks Id System
/dev/sda1 1 789 6336513 f W95 Ext'd (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 1476 4008 20346322+ 7 HPFS/NTFS
/dev/sda3 4009 9964 47841570 7 HPFS/NTFS
/dev/sda5 1 749 6008832 83 Linux
/dev/sda6 749 789 326656 82 Linux swap / Solaris

View 5 Replies View Related

Programming :: Shell Script To Resize NTFS Partitions

Sep 1, 2010

Can someone help me to make a shell script to resize automatically the NTFS partitions of my disk ?

View 3 Replies View Related

General :: Delete And Resize Windows Basic Ntfs Partitions With Gparted

Mar 22, 2011

I have a windows box running w2003 server on 1 volume with 2x ntfs basic partitions. c: = the windows bit, d: = the data bit for user data.I have cloned (clonezilla) the volume to another and deleted the data (d bit and want to extend the c: into the freed space.I'm booted from a partedmagicv5 cd and using gparted to attempt this.I can't see a way to do this with gparted but then, I could be thick. Maybe I clone off reformat and copy back?Is there a better way or even is this the correct forum (please don't refer me to Microsoft website:-) for this type of question?This is a test box so not worried about breaking it, but the test is to try to solve a live problem at a school I support which is running out of hd space.

View 3 Replies View Related

Debian Installation :: Squeeze Grub2 Error 15 With LVM2 Encrypted Disk?

Feb 9, 2011

This is my specific solution to my specific problem. After updating to Squeeze from my prior Lenny distro (amd64 with whole disk encrytion using LVM2, dm-crypt, LUKS) everything went well - at first. I was duped like so many, thinking that all was well and I could remove the legacy-grub (aka: Grub1) and just use grub-pc (aka: Grub2). As soon as I removed the legacy-grub and rebooted my laptop, I was confronted with:

GRUB Loading stage1.5 GRUB loading, please wait..Error 15 At this point I wasn't sure if it was a Grub problem or a deeper encryption problem - especially after reading that some people had missing packages in Squeeze (lvm2, dm-setup, initramfs-tools, etc.)

Okay, the solution for me.

1. download and burn to disk: debian-live-6.0.0-amd64-rescue.iso[URL]..

2. scroll to and press enter/return on: text rescue

3. choose a root directory - for example: /dev/blah/root (I wrote down the list of possible /dev/.... for reference - this helped me remember where and what I had partitioned in Lenny)

4. choose: Execute a shell in /dev/blah/root

5. once in the shell, I discovered I needed to mount a few of those partitions that I had written down in order to get access to grub-probe, update-grub, grub-install, etc. You may not have to if your partitions are minimal. I you need to use other partitions, type (for example):

[Code]...

View 1 Replies View Related

Debian Configuration :: Live Migration To Ext3 To Ext4 On A LVM2 System

May 5, 2011

I have successful upgraded my system from Lenny to Squeeze and have even installed NVIDIA Driver successful, as well as other applications that I need. My system is now running smoothly and okey. My applications are also running smoothly except Skype 2.2 (Debian Forum Guys are currently helping me solve it).

However, I do want to upgrade my file system to ext4 in order to take its advance features and advantages especially that my system is now in WORK HORSE mode. However, I am not confident enough to do it because the guide is limited and does not tackle the issue of a system using ext3 with LVM2 on it.

Therefore, my question is how do I migrate (LIVE) my Ext3 to Ext4 on my system that uses LVM2? A clear and understandable guide is highly appreciated especially that I am newbie on it.

View 2 Replies View Related

Debian :: Resize Debian Live On Pendrive, For Humans And Non Geeks?

Apr 19, 2010

Well the title is clearly explicit : Debian Live on a pendrive for humans and non geeks?Once downloaded, one has to do:

Code:
dd if=debiandebian-live-504-i386-standard.img of=/dev/sdX
with X the right device detected by dmesg directed to your pendrive

[code]....

View 1 Replies View Related

Debian :: Resize Debian Live Pendrive For Bigger Fat?

Feb 27, 2010

To install debian live, one should do :

Code:
dd if=debianlivependrive.img of=/dev/sda
then it is creating the pendrive (sda , not sdaX !)

[code]...

View 1 Replies View Related

Debian :: Can't Resize Images From Shell?

Feb 25, 2011

I've a problem, infact i can't resize images from shell (i use mogrify -resize 800x600 image.jpg or convert -size 800x600 image.jpg image.jpg) and it usually work for me.2 days ago i've bought a KOALA NANO PCit is a small 13x13 centimeters pc that work with a restricted(i don't know how) Debian lenny distro and its hardware is very thiny..So i tryied to resize some images from term but nothing to do. I think it's because of ram(128mb) or (processor 300mhz) or graphic memory.

View 6 Replies View Related

Debian :: Resize LUKS Partition Without LVM

Aug 20, 2011

I need to resize (increase) LUKS partition. I have found a lot of manuals, but they are just for LVM volumes(I dont use LVM and I dont plan to use it). I have HDD splited to the 4 parts:

sda1(/)
sda2(LUKS)
unalocated
swap

I want to increase LUKS partition, by using the part of unalocated space.

BUT I dont want to do the following:
Backup data from LUKS partition
Delete LUKS partition
Create new bigger LUKS partition
Restore data to the LUKS partition

View 1 Replies View Related

Debian Multimedia :: How To Resize Iceweasel

Jul 10, 2011

I'm running Iceweasel 5 and love it.

View 1 Replies View Related

Debian :: What Will Be Easy And Safe Way To Resize Partition?

Oct 1, 2010

What will be an easy and safe way to resize partition? Boot up the LiveCD? Or can I run resize2fs while OS is running?This is a newly installed box without files on /kvm. Now I want to resize /home taking up the complete capacity of /kvm which will be removed/deleted.

View 7 Replies View Related

Debian :: Encrypted Lvm: How To Resize Logical Volumes

Apr 24, 2011

I have let the debian installer set up with separate partions forrootusrvarhometmpIt ended up with a huge home partition and little place for the others.So I wanted to give some of home's space to the others and didlvreduce on homelvextend on the others.Following some info on the net it tells you toe2fsck -f partition1 followed by aresize2fs partition1But when I try to fsck the reduced home partition I got the following error:The filesystem size (according to the superblock) is 73113600 blocksThe physical size of the device is 20447332 blocksEither the superblock or the partition table is likely to be corrupt!Abort? yesIs there any way to save this?

View 5 Replies View Related

Debian :: Impossible To Resize Windows Partition ?

May 1, 2011

I am trying to install Debian for my best friend by resizing his Windows partition so that I can install Debian on a separate partition. But, I get this message when I try to resize Windows: "for some unknown reason impossible to resize this partition. Check /var/log/syslog or see virtual console 4 for details." I do not know how to check virtual console 4 for details and besides I won't be able to interpret it. I also tried defraging the Windows hard drive several times and using several livecds with GParted to try to resize. They all failed.

View 6 Replies View Related

Debian :: Root Partition Full Already Resize?

May 18, 2010

I recently installed Lenny and used the "Guided - Use Entire Disk" option.I made separate partitions for root, /etc, /var, /home, /usr and swap.I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full.

View 8 Replies View Related

Debian Configuration :: 8.0 - Resize Tmp File Using Gparted

Jul 31, 2015

I'm trying to resize tmp file using gparted. So I used gparted live cd and then i resized the tmp file but delete the old /tmp partition without backup. Now, my pc do not start. I have Debian 8.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved