I hope you meant, created a new partition and a new pv and then added that to
the vg.
/Peter
Of course yes :-)
Thomas
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Both fdisk and parted _can_ do it. But just as you've mentioned, parted has a
nasty habbit of involving itself in the content of the partition...
For lvm it really won't matter at all if your vg/lv is made up out of two
partitions with pvs or just one.
/Peter
Hi,
I created the second par
Note that I suggested that you _dont_ resize partitions but create a new one
(new partition with a new pv on it etc.).
pvresize resizes the pv _if_ the containing block device or partition has
already been grown.
parted seems to want to resize the file system also and i think this
would ma
The one and only partition on your device (sdb1) has the old size. That is,
there's free space on sdb. You have to either 1) create a partition sdb2 (and
then a pv on it etc.) or 2) resize the partition sdb1 (then resize the pv
etc.).
I'd pick #1. remember to reread the partition table aft
Hi.
I added a disk to a hardware raid 5 array and now i want to expand the
LVM physical volume. There are now 4 sas 146GB disks in the server.
The virtual disk /dev/sdb from the raid controller has been resized
successfully with the server management software osma.
[EMAIL PROTECTED] ~]# fdisk
what can you recommend for mail server. I'll be needing mail server with
tls,ssl and virtual domains with web ui management, im doing this for a
client of mine.
Hi Mark,
I would recommed you postfix as MTA and dovecot for POP3 and IMAP.
The web ui management software depends on what features
Stephen Harris schrieb:
On Fri, Sep 21, 2007 at 01:06:06PM +0200, Thomas Antony wrote:
After /var/log/maillog has rotated, postfix doesn't log anything to the
new log file till i restart syslog. It doesn't matter if i reload or
restart postfix.
You don't need to restart sysl
Hi,
I want to create a new log /var/log/maillog for postfix each day and so
i created a new logrotate config for the log and removed it from
/etc/logrotate.d/syslog.
~]# cat /etc/logrotate.d/maillog
/var/log/maillog {
daily
rotate 31
start 1
compress
create 0600 root
# umount /var
umount: /var: device is busy
umount: /var: device is busy
Ayn ideas?
Are you using chrooted BIND?
Do a cat /proc/mounts, search for var, and unmount anything in use.
# cat /proc/mounts | grep var
/dev/VolGroup00/LogVol02 /var ext3 rw,data=ordered 0 0
I can't unmount var.
/var is required for multi-user mode.
Try bringing the system to single-user mode 'init 1' and then try it.
-Ross
Hi.
single-user mode is a problem because i don't have physical access to
the server
I will try to get some remote hands.
Thank you everybody for your help!
kind regard
Is it possible that i log into the server with ssh and umount only /var and
then resize the logical volume?
Yes, but you'll have to stop a lot of daemons and other processes that
run with files opened in /var.
You can find the processes accessing /var with lsof or fuser:
# fuser -mv /var
#
Luciano Rocha schrieb:
On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote:
Hi.
I want to make a snapshot from a logical volume and noticed that there must
be enough free disk space in the volume group. Actually there is no free
disk space left.
How do i shrink online /var
.
Specs:
Dell PE SC1430 with a 5/i RAID Controller
one RAID 1 array from the Dell RAID controller
2 partitons (boot and LVM)
1 VG
3 LV (swap, /var (/dev/VolGroup00/LogVol02) and / formatted with ext3)
/dev/mapper/VolGroup00-LogVol02 211G 39G 162G 20% /var
Thank you in advance.
Thomas Antony
13 matches
Mail list logo