I know I have done this command on out Red Hat systems. But for some reason in CentOS its giving me problems. I am trying to add more space to / as its at 100% full. Not sure what filled up the 4G is assigned to it but I did load Virtualbox and a widowsxp system.
Here is what i have:
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc3 4061572 4050416 0 100% /
/dev/mapper/rootvg-rvg_datalv
253934980 313572 240514208 1% /data
I've added a second drive to a system and I need to extend the lvm and the filesystem to the second disk. Is there a way to do this online with centos 5.5? I specifically need extending the actual ext3 filesystem which seems to be the trick part.
I'm trying to use xrandr to extend the desktop on my laptop to my lcd monitor. I have tried a few different ways but no matter what I do the desktop will end up on my LCD and the laptop is the extended desktop. Anyone know where I am going wrong? Here is the command I've been using:
What I need is a program that will extend a X-windows display over a network, similar to nvidia's TwinView (which I am already using on the main machine for its 2 current monitors).However, I cannot use Xdmx (as suggested by all the threads I found), as I would like it not to require me to manually start the x server and viewer, and have all the machines must be running a *nix OS, which won't work for me, as the secondary machine is running windows.I would also like it to hopefully use VNC to share the desktop, as I would be connecting to it from a windows machine over ethernet.By "extend" I mean one that would, say, for example, add another X display with a given resolution and position and serve that over VNC. I have yet to find any programs that will do this.
I wonder if this is possible to extend or regrow the Linux hard disk partition from 8 GB to 20 GB without losing the existing data on the partition ?at the moment this Ubuntu Linux is deployed on top of VMware and I've just regrow the hard drive from 8 GB into 20 GB but can't see the effect immediately.can anyone suggest how to do this without losing the data ?
I am facing problems with RHEL5, everything was fine till yesterday but now it tell me i dont have enough space in /.Well due to which i cannot activate my run level5, and to startx command only runs if I remove /tmp/.X0-lock command and worse part my arrow keays not working. Resulting i need to type every command even if i am using the same command consecutively...can i exten / by lvextend ?or if i extend /hame or something like that will it work?
I wanted to extend one VG to 100 gb and I run command lvextend -L+100G /dev/vg/home it sucessfully extended and gave me 250GB initially was 150 GB after that I run mke2fs -j /dev/vg/home it created 250GB but lost existing data about 100GB is lost any method to recover it?
I have a 100GB HD with FC13 installed, default layout with options suggested during installation. I recently purchased a SSD 120GB and move the data the old HD from it with dd if=/dev/sda of=/dev/sdb bs=1M. Since the SSD is 120 Gb, so I should have 20GB space not utilized.
I know there are probably alot of threads about lvm however they aren't addressing my problem. I want to extend the PEs available in a VG. This VG already has LVs and those are active and mounted. From what I read from the manpages of pvresize this should be perfectly possible. Code: pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
I did the following steps and wonder if anyone has the same issue. THe machine where I am talking about is an ESX VM. 1. Resized the vmdk in ESX (+1G) 2. Let the kernel reread the device geometry: echo 1 > /sys/block/sdc/device/rescan 3. fdisk shows me the new size... so far so good 4. I resize the partition using fdisk (remove, recreate) and gave it the 8e type (lvm) 5. wrote config to disk 6. executed partprobe 7. pvresize /dev/sdc
Here it goes wrong! Pvresize says in the verbose output it sees the same size however at the end it says the pv has been resized. I have seen when I put volumes "offline" using vgchange -a n vg on a test machine, and then try pvresize it seems to work ok. This is against what is in the manual as it says pvresize should work on online mounted volumes.
Here is screenshot showing my current partition in Gparted. Screenshot-1.jpg What I want to do is shrink the one (Ubuntu) and extend the other (XP) so that that they are more or less the same size. How?
I have a disk partitioned, with windows on on one partition, ubuntu appears to be installed on an extended partition ... and iv run out of space... i need to extend the partition that ubuntu is installed on by 40gb
I have tried downloading gparted... burning it to a cd and then booting from the cd .. but i get upto a message that says use at your own risk then my system just reboots ....
I'm running xubuntu 10.10 on an old toshiba P3 laptop and I'm very new to linux but am learning day by day. How can I either extend the login session or stop it auto logging me out as I want to leave a program running continuously. I've searched all over the web but can't find anything.
Sometimes I am watching PBS movies on line... and from a period of inactivity, Ubuntu log me off automatically from my movie to the password typing page. How can I extend the time, to avoid being log off automatically. Which command should I use to control that time?
My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss.
I have a question regarding extending file system. We are using RedHat 4 with update 8.Is it possible to extend an file system with GFS file system type while at the same time the same file system that need to be extended is used as an NFS file system? Is it necessary to stop the nfs daemon before extending the GFS file system? If it is necessary to stop nfs daemon, what can happen if it is not stopped prior extending?
I have my harddisk partitioned with fdisk. It has seven partitions. I have some important data in my /home partition. The /home partition is almost full. I want to extend the size of /home. Mind you I'm not using LVM. Can I use LVM now and add another harddisk to extend the /home partition. Will I lose my data. Or do I have to re-install linux?
I have an Asus eee, it has a solid state drive which has been partitioned with a 4GB and 8GB partition. I installed Fedora 14 onto the 4GB partition but I am running out of space. I have formatted the 8GB partition with ext4 but I am unsure the best way to create more space for the default installation. Can I extend my / partition onto the 8GB partition or possible move the /swap partition onto it?
I have window 7 and Ubuntu 10.04 on my laptop.As you know if I extend the capacity of my ubuntu partion in window, I will lose ubuntu and I should reinstall it.I want to know if there is a way for extending my ubuntu partition from 20 Gb to 30 Gb without loosing ubuntu and windows?
I've 80G hard-disk with dual boot ( XP with 5.5G and Ubuntu 10.10 with 4.5G ). After recent updates there is only 1G of space left on Ubuntu.I've 3 more drives with around 25G left and want to extend Ubuntu by another 10G.How can I do that?
Is there any way to use unallocated space to extend a partition that isn't close to that partition? there is an image attached, I can extend /dev/sda2 but not /dev/sda1 ( the one that i want to) I used the live cd to run gparted.I had to move /dev/sda2 to to the right and then extend /dev/sda1
I am systems administator of the university CS lab. I have a Mac here and I'm trying to extend the directory to our OpenLDAP server. We use NFS as well. I know nothing of Macs in this respect except for the fact that they already have LDAP on them, which seems to be convenient.
I am fairly new to c++. There must be a better way to do the following?:- Say I have a base class, Pet. I have several child classes that extend from this, like Dog, Cat, Fish etc.
I have the following function, that returns a pointer to a new Pet:- Code: Pet* addPetToVet() { //Do some stuff return new Pet(); } This will return a pointer an instance of a pet object.
Now, if I want to interpret this pet as a dog or cat I have to do this:- Code: Dog* dogA = static_cast<Dog*>(addPetToVet()); Cat* catA = static_cast<Cat*>(addPetToVet()); Is there a way around this? Casting seems lame. I cant write a function for each type of pet.