General :: Free Up An LVM Logic Volumn Into A Physical Partition?

May 13, 2010

In my computer there is only one hard disk with two partitions. /dev/sda1 is mounted as /boot, while /dev/sda2 is used as LVM. In that LVM partition I have only one logic volumn group with several logic volumns. One of the logic volumns is mounted as /data, and now I want to remove this logic volumn, free up the space and make it another physical partition outside LVM as /dev/sda3. Can someone help me on this, especially the procedure of steps I should go through ?

View 7 Replies


ADVERTISEMENT

General :: Extending Partition Into Another Physical Drive?

Oct 4, 2010

Is it possible if I am only using ext3 and no LVM or anything else to re-size the partition into another physical device? I am pretty sure the answer to this is no but I was still curious as I am facing a full 1tb disk and need to add a new drive and unsure how to do this due to shared folders existing on the old drive and no way to actually expand them without linking in new files or something.

View 8 Replies View Related

Server :: Free Physical Memory Available Then Why Swap Space Used

Jun 20, 2010

Why linux uses swap space, even if there are free physical memory available.

View 4 Replies View Related

General :: Associate A Physical Disk Partition With Directory?

Dec 14, 2010

i would like to determine the hard drive partition associated with a directory. ie i have a disk partition as user with mount point Home. this i think contains my Home directory. a downloaded program resides in /usr/bin. now there is a /usr/local/bin with nothing in it. my question is how can i tell what disk partition /usr/bin resides on. if it is on my user defined partition i will not lose the program on a system install i think?

View 5 Replies View Related

General :: Mounting - Checking Or Reading Partition ( Probably A Physical Damage )?

Mar 21, 2010

I have a problem when trying mounting, checking my ext3 partition. Is a external HD with my "portable" Linux system. Suddenly started to fail, when I try to boot it, the GRUB can't locate the config file, and show me the command line. I boot from my internal HD and try to mount it and have this messages.

Code:
sd 2:0:0:0: [sdb] Attached SCSI disk
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] Unhandled sense code
sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error

[Code]...

1.- What exactly is in this first sectors (ext3 metadata?)

2.- Is there some way to fix this quickly, maybe with some "sectors relocation", Or re-create the first logical sectors.

3.- If not, who could i make a full backup (something like dd copy), of all the partition.

4.- How fix it?, even with a long prosses, i don't know, maybe backup the file structure (with forensic tools) and copy into a new (and re-located) partition. This is my last option because the forensic tools sometime can't recover all files and sometimes only parts, or very old files.

View 7 Replies View Related

General :: Deleting Files In Ubuntu Doesn't Free Up Space On Partition

Dec 22, 2009

After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?

View 7 Replies View Related

General :: Nested Loop-bash Script - On Logic?

May 30, 2010

Am new in bash scripting, presently I have 2 files and i need to create a file reading from these 2 files. I was trying to work with 2 for loops, but I can see like once its executing 1st outer loop then all inner loop, then next outer loop+ all inner loop. How can i get result like 1 outer loop, 1 inner loop then 2 outer loop,2 inner loop etc. Below is my prog

#!/bin/bash
rm d
for i in `cat a`
do
echo "dn:$i >> d
for j in `cat b`

[Code]...

View 6 Replies View Related

Ubuntu :: Partition Manager: Unable To Resize Partition To Use Free Space BEFORE Partitio?

May 29, 2011

I have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.

I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).

I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).

Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?

View 9 Replies View Related

Debian :: Separate /home Partition From System Partition - Free Space Gone?

Dec 15, 2010

My debian 5 is up and running smoothly and act as file-server in the middle of windows network jungle using samba the only problem is, after backup an external hdd (213 GB) to my /home partition, I end up with message say that I'm running out free space. Fyi my debian installed on 1TB SATA disk, and I separate my /home partition from system what happen to my free space ? here is screenshot of my disk, using disk usage analyzer: is there is a way to get my space back or something missing on my setup.or I have to reinstall my debian and use LVM when partitioning my disk?

View 8 Replies View Related

Ubuntu :: Reconfiguring - Reinstall Hardy Heron On A New (smaller) Partition From The Free Space Partition

Jun 15, 2010

Currently, my partitions are set up as such:

83GB ext3 free space
~10GB ntfs HP/Vista Recovery Partition
~93GB Ubuntu (Hardy Heron)

I tried to just have two partitions (recovery and ubuntu), but because of the different file systems, and the placement of the hp recovery partition, it has to be right in the middle. This is basically what I want to do:

1) Reinstall Hardy Heron on a new (smaller) partition from the free space partition.
2) Once it's working properly, format the rest of the hard drive (getting rid of the recovery partition) and create a single ext3 partition.
3) Install another distro on this new partition.

Does anyone foresee any complications with all this slicing and dicing of my hard drive for which I should/could prepare?

View 9 Replies View Related

Ubuntu :: Make A Partition Of The Free Space Available From Windows Partition

Aug 18, 2011

i am following the installation process and its very unclear whether or not a dual boot will occur and how i can make a partition of the free space available from my windows partition etc....i dont want to go through the process and find myself losing all my data and my windows partition i also cant seem to select a partition less than 86% of the total capacity of hdd so im def sure they're not taking my dual boot desires into consideration.

View 1 Replies View Related

General :: How To Repair Filesystem - Appearing As Free Space - Recover The NTFS Data Partition ?

Feb 16, 2010

Original disk:
XP NTFS primary
Linux / ext4 logical
Linux /home ext4 logical
Win 7 NTFS logical
NTFS data logical
swap space
NTFS recovery partition

I tried to install linux, as there was a problem with XP overwriting grub, I chose write grub to /dev/sda8 (which is where the linux install was appearing earlier).

I guess this borked the filesystem somehow. Now the NTFS data partition and the swap space are appearing as one free space.
Well actually before that some linux live CDs (including gparted were seeing the entire drive as unpartitioned). I had to go into XP and delete the /ext4 partitions.

Is there any way for me to recover the NTFS data partition ?

View 4 Replies View Related

Fedora Installation :: Partition Does Not Start On Physical Sector Boundary?

Aug 22, 2011

fdisk -l: Disk /dev/sda: 750.2 GB, 750156374016 bytes.

[Code]...

I've tried other installations, but I always get errors like this. /dev/sda 5, 7 and 8 are occupied by PCLinuxOs. /dev/sda 9, 10, 11 and 12 by Fedora. I made room for Linux installations by GParted (last version). Really, I made no errors. The installer of PCLOS is a bit strange: it changed the NTFS partition sda5 in sda 6! In a previous installation with Fedora and Kubuntu only the extend partition sda 4 complained about not starting on physical sector boundary. The hard disk is Western Digital with Advanced Format. Probably this is the cause of the problem. The systems are snappy and responsive. I do not encounter any problem. What to do? Ignoring the problem or reinstalling? May be it would be better to get rid of PCLOS and to dual boot Windows with Fedora?

View 5 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

Ubuntu :: Volumn Control & Envelope Not In Notification Area?

May 5, 2010

Ubuntu 10.04 Gnome New Install, not upgrade.The volume control Icon and the Envelope Icon are missing since the New Install of 10.04 in my Notification area.

View 6 Replies View Related

Programming :: Segmentation Fault" Due To The Volumn Of Data?

Jun 18, 2010

I downloaded the C4.5 code from web, and it works fine with me. But when I use it to treat large data, it has error message like "segmentation fault". While, I think it is not due to the volumn of data. Is that a bug? so what is the general problem of "segmentation fault"?

View 2 Replies View Related

Ubuntu Installation :: Accidentally Deleted Partition Table On Lvm Physical Volume.

Jul 18, 2010

I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.

I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.

In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:

pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0

Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:

vgcfgrestore --file /etc/lvm/backup/raid5 raid5

This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!

When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.

View 1 Replies View Related

Ubuntu :: 26 GB Partition Reports 2.6 GB Used 1.7 GB Free?

Feb 13, 2011

I've mounted /home on its own 26 GB partition. I have 2.6 GB of files in /home/chris/. The only other thing in /home is /home/lost+found/ which appears to be empty. Nautilus reports that there is 1.7 GB free. Where is the rest of my disc?

View 4 Replies View Related

Ubuntu :: Can't Seem To Merge The 160 Gig's Of Free Space Into Partition?

Jan 11, 2010

I deleted Win7 from my dual boot but I cannot seem to merge the 160 gig's of free space into my ubuntu partition, ran the live gparted but it will not let me expand the ubuntu partition!

View 4 Replies View Related

Ubuntu :: Delete A Partition And Use The Free Space For Another OS?

May 25, 2010

OK so basically I have 3 partions on my 500 gb. hdd.

1. Windows 7 64-bit (375gb partion)

2. Ubuntu 9 (50gb partion)

3. Ubuntu 10(75gb partion)

Is there anyway I can remove Ubuntu 9 and allow Windows 7 to use that 50gb that was once used by Ubuntu 9.

View 1 Replies View Related

Ubuntu :: Converting Free Space To Partition

Jul 10, 2010

I'm dual booting Win7 with Ubuntu 10... I just 'shrunk' some disk space in my NTFS partition (about 60gb); and want to assign it to my current Linux partition. In the 'disk utility', I see 60gb 'free' and unformatted. How can I take this 60gb and add it to my current Linux partition (/dev/sda5)?

View 5 Replies View Related

Ubuntu Installation :: 10.10 With Only One Free PRIMARY Partition?

Oct 12, 2010

right now I've been playing around with Ubuntu using Wubi and I would like to actually install Ubuntu onto its own partition. But I dont want to lose my Windows OS either (I need it for applications like MATLAB and LabVIEW).

My issue is, my laptop currently already has three primary partitions. One for windows, one for recovery and one "SYSTEM_DRV" (used to hold OEM windows license info apparently). I dont want to mess with any of those partitions. my question is, can I still install Ubuntu when I only have one primary partition?

I read about extended and logical partitions in the guide, but the wording was pretty confusing. All it said was Ubuntu needs two partitions, it didnt say if the partitions could be any type.

View 9 Replies View Related

Ubuntu :: Auto-partition Free Space

Nov 16, 2010

I am trying to install Ubuntu on a computer that will do a dual boot (Windows XP and Ubuntu). My drive is 1.5TB. I have installed WinXP first creating 20GB partition for it. Rest of the drive remained as an unpartitioned space. Now, on top of that I am trying to install Ubuntu. I got as far as the screen that asks me to partition hard drive. What I would like to do is to create the following partitions:

/ - where the system will go (20GB)
/swap - well, swap (5GB)
/media - for my media files (rest of the HD ~1.4TB)

Unfortunately, I was unable to do so (or it is beyond my noob Linux skills). The only two partition types available were Primary and Logical. When I created two partitions:

/
/media

I got an error that warned me to go back and "rethink" my strategy (do not remember exact error). When I tried auto-partition free space, I got:

/
/swap

but / took the whole remaining 1.5TB of the drive. How do I create the three partitions that I would like to have?

View 3 Replies View Related

General :: Add / Of 3000mb In The Remaining 20380mb Free Space It Showing An Error Message That No Free Space Is Available

Jul 25, 2010

I have 160gb laptop. i installed vista in c primary partition which is 25gb and installed ubuntu in d primary partition which is 20gb. A remainig for my data. Now i tried to install CENT OS by formatting ubuntu. I inserted CENT OS DVD and restarted and i selected to delete my /dev/sda2 which is showing 20480mb and it shown me free space. but i tried to add partion /boot of 100mb it got added. but, when i am trying to add / of 3000mb in the remaining 20380mb free space it showing an error message that no free space is available.

View 4 Replies View Related

Fedora :: Can't Find Free Space After Shrinking The Partition

Apr 26, 2011

I shrinked the /home partition using resize2fs command by 1GB and what had happened to remaining my free space .

View 1 Replies View Related

OpenSUSE Install :: Partition Resizing - Free Space Not Available

Dec 16, 2010

I have two 250 GB drives setup with hardware RAID 1. I had on sda and sdb: 20 GB swap, 20 GB /, 198 GB /srv all was good until I started to run out of space on 20 GB /. So I booted the server with Suse 11.3 live cd and reduced the size of 20 GB swap to 10 GB and 198 GB /srv to 150 GB on sda and sdb.

All good so far, then tried to increase 20 GB / to 60 GB, but the Partition setup says the Max Size can be 20 GB, I have checked and I have 42.88 GB of Unpartitioned space. I have rescanned, rebooted, Server is still running fine by the way, but the 42.88 GB of free space is not made available for the expansion of 20 GB /.

View 6 Replies View Related

Ubuntu Servers :: Eliminating A Partition And Using Free Space?

Feb 15, 2010

I screwed up with my Ubuntu Server Grub2 on 9.10. I want to know since I just did a reinstall on top of the old one. Can I eliminate one of them (doesn't matter) and return it to Ubuntu and 7. Now grub shows the new install, win 7 and the old ubuntu's that I had before and they all 3 work. so how can I restore grub in the old ones to a default setting and then eliminate the new one? or just eliminate the old ones? Or should I do what I think is prob what I will have to do and completely reinstall Windows and then put Ubuntu back on?

View 1 Replies View Related

Ubuntu :: How To Make Partition Out Of 50GB Free Space

Jul 2, 2010

I'm relatively new to ubuntu. I want to run ubuntu alongside my windows partition. I have shrunk the volume that leaves me 50 gb of free space for ubuntu. Will the system automatically set the system and mount volume sizes? If not can I have some tips on manually using the 50 gb to set it up.

View 1 Replies View Related

Ubuntu Installation :: How To Allocate Free Space To 10.10 Partition On HD

Jan 24, 2011

I have a notebook with dual boot windows and Ubuntu 10.10 on a 80 Gig hard drive. The windows XP partition was initially installed and took up the whole drive (dev/sda1). I then freed up some space and created and installed Ubuntu (/dev/sda6) and swap (/dev/sda5) on an extended partition (/dev/sda2). Initially I only freed up 3.6 Gig which I thought would be more than enough but not any more. I cannot even install the updates as there is only 100 Meg left which is not enough. I then freed up more space (8 gig) from the windows partition to allocate to Ubuntu.

My problem is that I can't seem to find to now allocate this "freed-up" space to Ubuntu? I realise that I have to boot-up from a the Ubuntu live disk so that the hard drive is not mounted to allow changes but I'm still unable to change the partitions. I'm using GParted.
The drive looks like this currently:
[...NTFS] [...Unallocated] [...Extended{(ext4),(linux-swap)}]

View 2 Replies View Related

Ubuntu :: Wiping Free Space On A Fat32 Partition?

Apr 8, 2011

I'd like to wipe free space on a fat 32 partition, momentary by doing

Code:

cat /dev/urandom >garbage

That stops each time the file is 4GB big, as this is the maximum supported filesize for fat32 partitions. So I redo the command, only writing now to "garbage2" or so.Is there any more elegant way to do that? Maybe by script which automatically generates new file names, until the disc is full?

View 7 Replies View Related







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