similar to: Centos7 - remove /home and expand / after install?

Displaying 20 results from an estimated 4000 matches similar to: "Centos7 - remove /home and expand / after install?"

2011 Apr 28
10
Expanding a virtual block device
Hi list. I''m running Xen 4.0.1 on Debian. I''m trying to live resize a block device : - I have a arbitrary block device in my dom0 (/dev/mapper/vm-vol42). - I start a PV domain with that device as a disk (disk = [''phy:/dev/mapper/vm-vol42,xvda,w'']). - I resize vm-vol42 in the dom0 (adding size only) - the dom0 sees the device''s new size. -
2015 Jun 25
2
LVM hatred, was Re: /boot on a separate partition?
On 6/25/2015 8:50 AM, Robert Heller wrote: > man vgdisplay > man lvdisplay > man lvcreate > man lvextend > man lvresize > man lvreduce > man lvremove > man e2fsck > man resize2fs man xfs_growfs -- john r pierce, recycling bits in santa cruz
2016 May 06
4
resize lvm
I have a laptop that I put centos 7 on and I started out with a 30gig partition.? I resized the other part of the disk to allow more space for centos.? I then created an unformated partition in the available space,? ran pvcreate /dev/sda4 vgextend lvname /dev/sda4 lvextend -L 184.46G /dev/lvname/root but when I run: sudo resize2fs /dev/lvname/root I get: resize2fs: Bad magic
2014 Jul 16
1
systemd seems to be very busy
I'm getting a large number of messages like this under CentOS-7. Is that normal? Or do I need to take some action (maybe reducing verbosity level)? ------------------------------------- Jul 16 17:43:01 localhost-002 systemd: Starting Session 54 of user tim. Jul 16 17:43:01 localhost-002 systemd: Started Session 54 of user tim. Jul 16 17:45:01 localhost-002 systemd: Starting Session 55 of user
2014 Aug 06
1
Zombie users in Centos6
Geetings, I have a machine with PAM using LDAP. Some old users do not disappear from: * getent passwd But, they are not in: * /etc/passwd or * LDAP Where are they? Any idea? Please, I am affraid of ghost. :-( TIA -- Cosme Faria Corr?a
2015 Jun 25
6
LVM hatred, was Re: /boot on a separate partition?
On Wed, June 24, 2015 16:11, Chuck Campbell wrote: > > Is there an easy to follow "howto" for normal LVM administration > tasks. I get tired of googling every-time I have to do something > I don't remember how to do regarding LVM, so I usually just > don't bother with it at all. > > I believe it has some benefit for my use cases, but I've been >
2014 Jul 16
1
anaconda, kickstart, lvm over raid, logvol --grow, centos7 mystery
I am testing some kickstarts on ESXi virtual machine with pair of 16GB disks. Partitioning is lvm over raid. If i am using "logvol --grow i get "ValueError: not enough free space in volume group" Only workaround i can find is to add --maxsize=XXX where XXX is at least 640MB less than available. (10 extents or 320Mb per created logical volume) Following snippet is failing with
2014 Aug 29
3
*very* ugly mdadm issue
We have a machine that's a distro mirror - a *lot* of data, not just CentOS. We had the data on /dev/sdc. I added another drive, /dev/sdd, and created that as /dev/md4, with --missing, made an ext4 filesystem on it, and rsync'd everything from /dev/sdc. Note that we did this on *raw*, unpartitioned drives (not my idea). I then umounted /dev/sdc, and mounted /dev/md4, and it looked fine; I
2012 Jun 15
4
Resizing est4 filesystem while mounted
Greetings - I had a logical volume that was running out of space on a virtual machine. I successfully expanded the LV using lvextend, and lvdisplay shows that it has been expanded. Then I went to expand the filesystem to fill the new space (# resize2fs -p /dev/vde1) and I get the results that the filesystem is already xx blocks long, nothing to do. If I do a # df -h, I can see that the
2014 Jun 20
1
iostat results for multi path disks
Here is a sample of running iostat on a server that has a LUN from a SAN with multiple paths. I am specifying a device list that just grabs the bits related to the multi path device: $ iostat -dxkt 1 2 sdf sdg sdh sdi dm-7 dm-8 dm-9 Linux 2.6.18-371.8.1.el5 (db21b.den.sans.org) 06/20/2014 Time: 02:30:23 PM Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await
2016 Sep 25
1
How to move /var to another partition
On 9/25/2016 12:56 PM, Robert Nichols wrote: > > What I do is have a separate logical volume for /var/lib/libvirt, > with /var/lib/libvirt/etc bind-mounted to /etc/libvirt. It keeps > all the libvirt stuff together, since the backup requirements > there are quite different from the rest of the system. this! when I create a centos system, I let anaconda setup LVM, but I hugely
2011 Apr 02
8
ZFS @ centOS
I have trouble finding definitive information about this. I am considering the use of SME 7.5.1 (centOS based) for my server needs, but I do want to use ZFS and I thus far I have only found information about the ZFS-Fuse implementation and unclear hints that there is another way. Phoronix reported that http://kqinfotech.com/ would release some form of ZFS for the kernel but I have found nothing.
2020 May 13
4
CentOS 7 - xfs shrink & expand
I'm having some difficulty finding a method to shrink my /home to expand my /.? They both correspond to LVMs.? It is my understanding that one cannot shrink a xfs filesystem.? One must back it up (xfsdump), remove (lvremove) redefine it and then restore it back (xfsrestore). Okay, I'm running into a problem where /home? needs to be "unused".? If tried going in to
2004 Apr 12
2
FW: cluster1 error
I am trying to use: ocfs-support-1.0.10-1 ocfs-2.4.21-EL-smp-1.0.11-1 ocfs-tools-1.0.10-1 with RedHat AS 3.0, 2-node cluster with shared SCSI. 2 dell 1650s, dual CPUs, PERC 3/DC cards chained to a PowerVault 220S. I am using lvm, and here is my layout: [root@cluster1 archive]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 32G 5.1G 25G
2011 Sep 19
4
LVM lvresize/lvextend requires some space in /etc to grow a logical volume?
Side note: In CentOS-6, I noticed a new option in lvresize / lvextend: -r, --resizefs Resize underlying filesystem together with the logical volume using fsadm(8). Nice. Two steps (lvresize and resize2fs) can now be combined into one! Works great. But that has nothing to do with my question, just thought I'd share the discovery. == Anyway, here's
2015 Jun 24
4
LVM hatred, was Re: /boot on a separate partition?
Once upon a time, m.roth at 5-cent.us <m.roth at 5-cent.us> said: > Here's a question: all of the arguments you're giving have to do with VMs. > Do you have some for straight-on-the-server, non-VM cases? I've used LVM on servers with hot-swap drives to migrate to new storage without downtime a number of times. Add new drives to the system, configure RAID (software or
2011 Aug 31
2
How to expand LVM without create new drive?
I now how to expand a LVM by creating a new drive as described here: http://lists.centos.org/pipermail/centos/2007-February/032664.html, the steps are: # pvcreate /dev/sda3 # vgextend VolGroup00 /dev/sda3 Now, I want to know how to expand a LVM without create /dev/sda3? Suppose I have 2 GB free (unpartitioned) and LVM use /dev/sda2 (8 GB). How to make /dev/sda2 become 10 GB? Then resize LVM
2015 Jun 25
2
LVM hatred, was Re: /boot on a separate partition?
Robert Heller wrote: > At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list <centos at centos.org> > wrote: >> On Wed, June 24, 2015 16:11, Chuck Campbell wrote: >> > >> > Is there an easy to follow "howto" for normal LVM administration >> > tasks. I get tired of googling every-time I have to do something >> > I don't remember
2013 Apr 01
3
Don't understand how to re-partition this setup or why it was made like this
Hello, I did df -h on my CentOS 6.4 machine. $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ysg-lv_root 47G 8.8G 36G 20% / tmpfs 948M 372K 947M 1% /dev/shm /dev/sda1 485M 62M 398M 14% /boot /dev/mapper/vg_ysg-lv_home 4.6G 2.7G 1.7G 63% /home What I don't understand is why
2010 Oct 15
1
Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.
I have a Xen LVM based VM with two partitions: /dev/VolGroup00/vm01p1 /dev/VolGroup00/vm01p2 p2 is about 50GB, I gave it's LVM an extra 30 or so using lvextend. How can I extend the partition to fill my free space and the filesystem? I don't mind offline, if I can get Xen to boot off an alternative media. Peter -- Peter Serwe http://truthlightway.blogspot.com/ -------------- next