Showing posts from September, 2009

Removing VGs or LVs from LVM

While are many excellent tutorials about creating and using LVM on Linux, not may show you how you can remove disks from LVM Volume Groups (VG) and reclaim storage or how to remove a Logical Volume (LV) from your LVM set-up.

Here is what I did:
Use -t to TEST ANY LVM action first!
We are going to release 1 TB from LVM. The Volume group was extended with 1 TB storage to serve as a cheap NFS/CIFS file server when setting up our data center. It is now deprecated and replaced by a NAS so it's no longer needed.

1) check LVM; note the four 256 GB LUNs

[root@server ~]# pvscan -v
Wiping cache of LVM-capable devices
Wiping internal VG cache
Walking through all physical volumes
PV /dev/sdb1 VG vgdata lvm2 [50.00 GB / 0 free]
PV /dev/sdc1 VG vgdata lvm2 [256.00 GB / 0 free]
PV /dev/sdd1 VG vgdata lvm2 [256.00 GB / 0 free]
PV /dev/sde1 VG vgdata lvm2 [256.00 GB / 0 free]
PV /dev/sdf1 VG vgdata lvm2 [256.00 GB / 0 free]
PV /dev/sdg VG vgdata l…

Oracle Enterprise Linux Release 5 Update 4

Oracle is pleased to announce the general availability of Enterprise Linux Release 5 Update 4 for x86 (32 bit) and x86_64
(64 Bit) architectures.

This update includes the following kernel/driver changes:

Bug Fixes added by Oracle

* Check to see if hypervisor supports memory reservation change
[orabug 7556514]
* Add entropy support to igb [orabug 7607479]
* Convert ENETUNREACH to ENOTCONN [orabug 7689332]
* Add xen pv/bonding netconsole support [orabug 6993043]
* Shrink zone patch [orabug 6086839]
* Fix aacraid not to reset during kexec [orabug 8516042]
* Fix failure of file creation from hpux client [orabug 7579314]

Fixes/Additions from the upstream distribution provider

* A new tunable parameter /proc/sys/vm/max_writeback_pages has been added
to the kernel, allowing system administrators to change the maximum
number of modified pages kupdate writes to disk per iteration each time
it runs. It defaults to 1024 or 4MB so that a …

Red Hat 5.4 released

Red Hat released a new version of their Enterprise Linux OS. RHEL 5.4 features enterprise-grade KVM virtualization, optimizations for Intel® Xeon 5500 Series and AMD Istanbul platforms, network enhancements such as Generic Receive Offload (GRO) support the latest generation of NICs, and more.