From haiwu.us at gmail.com Sun May 12 06:51:41 2013 From: haiwu.us at gmail.com (hai wu) Date: Sun, 12 May 2013 01:51:41 -0500 Subject: [rhelv6-list] List all RHEL6 upstart events Message-ID: Is there a way to list all available RHEL6 upstart events? In Ubuntu, 'man 7 upstart-events' seems to be the answer, but there's no such manpage in RHEL6. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.shaw at gmail.com Sun May 12 23:08:03 2013 From: marco.shaw at gmail.com (Marco Shaw) Date: Sun, 12 May 2013 20:08:03 -0300 Subject: [rhelv6-list] LVM and "unpartioned space" Message-ID: I'm playing around trying to see how to resize disks with RHEL6.4 on VMware Workstation 9. I installed the OS and used up 20GB of /dev/sda (with /boot, lv_root and lv_swap). Then I went in VMware and increased the disk (/dev/sda) from 20GB to 25GB. Now in the LVM GUI, I see that extra 5GB in /dev/sda as "Unpartioned space". Specifically in the LVM *GUI*, can I do anything with this space to make it usable? Do I have to go to the command-line to create a partition first? Also: sg3_utils has a "scsi-rescan" command (reference http://jreypo.wordpress.com/2010/10/28/how-to-rescan-the-scsi-bus-in-linux/). Is there a GUI equivalent? -------------- next part -------------- An HTML attachment was scrubbed... URL: From solarflow99 at gmail.com Sun May 12 23:18:31 2013 From: solarflow99 at gmail.com (solarflow99) Date: Sun, 12 May 2013 19:18:31 -0400 Subject: [rhelv6-list] LVM and "unpartioned space" In-Reply-To: References: Message-ID: I think what you need to do is expand the volume group, then increase any of your logical volumes within it. then you should be able to do a resize2fs online. If you have a preference to use a GUI tool, I know gparted live works well. On Sun, May 12, 2013 at 7:08 PM, Marco Shaw wrote: > I'm playing around trying to see how to resize disks with RHEL6.4 on > VMware Workstation 9. > > I installed the OS and used up 20GB of /dev/sda (with /boot, lv_root and > lv_swap). Then I went in VMware and increased the disk (/dev/sda) from > 20GB to 25GB. > > Now in the LVM GUI, I see that extra 5GB in /dev/sda as "Unpartioned > space". Specifically in the LVM *GUI*, can I do anything with this space > to make it usable? Do I have to go to the command-line to create a > partition first? > > Also: > sg3_utils has a "scsi-rescan" command (reference > http://jreypo.wordpress.com/2010/10/28/how-to-rescan-the-scsi-bus-in-linux/). > Is there a GUI equivalent? > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.j.smith at ieee.org Sun May 12 23:35:52 2013 From: b.j.smith at ieee.org (Bryan J Smith) Date: Sun, 12 May 2013 19:35:52 -0400 Subject: [rhelv6-list] LVM and "unpartioned space" In-Reply-To: References: Message-ID: On Sun, May 12, 2013 at 7:08 PM, Marco Shaw wrote: > I'm playing around trying to see how to resize disks with RHEL6.4 on > VMware Workstation 9. > I installed the OS and used up 20GB of /dev/sda (with /boot, lv_root and > lv_swap). Then I went in VMware and increased the disk (/dev/sda) from > 20GB to 25GB. > Now in the LVM GUI, I see that extra 5GB in /dev/sda as "Unpartioned > space". Specifically in the LVM *GUI*, can I do anything with this space > to make it usable? Do I have to go to the command-line to create a > partition first? > Also: > sg3_utils has a "scsi-rescan" command (reference > http://jreypo.wordpress.com/2010/10/28/how-to-rescan-the-scsi-bus-in-linux/). > Is there a GUI equivalent? > You have two (2) options. Recommended: - Create another Physical Volume (PV) with the space and add it to the same Volume Group (VG) Another option (not always safe or possible): - Resize the existing Physical Volume (PV) to encompass the new space. The former will almost always work. You just create another Slice (Partition) with the new space in the Disk Label (MBR Partition Table I assume) for /dev/sda, and then add it to the same Volume Group (VG). E.g., with parted, I like to use MiB (2^20) for units. The "print" will tell you where the prior partition ends and the new can start. # parted /dev/sda unit MiB print # parted /dev/sda mkpart primary (start)MiB (end)MiB # parted /dev/sda set (newpart#) lvm on Then create and add your PV and add it to the existing VG. # pvcreate /dev/sda(newpart#) # vgextend (VGname) /dev/sda(newpart#) Done. It doesn't matter you are using two (2) slices (partitions), they are in the same VG and usable for storage. No performance hit, DeviceMapper acts the same on devices whether they are LVM or not, contiguous or not. The latter requires the space added to be contiguous to extend the Slice (Partition) in the Disk Label (MBR Partition Table), and then extended with the PV command (pvresize). I don't recommend this method. -- Bryan J Smith - Professional, Technical Annoyance b.j.smith at ieee.org - http://www.linkedin.com/in/bjsmith -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.shaw at gmail.com Sun May 12 23:38:12 2013 From: marco.shaw at gmail.com (Marco Shaw) Date: Sun, 12 May 2013 20:38:12 -0300 Subject: [rhelv6-list] LVM and "unpartioned space" In-Reply-To: References: Message-ID: I actually prefer CLI, but I'm researching this for a mainly Windows OS admin audience. I'll try again, I'm pretty sure the LVM GUI wasn't allowing me to expand the volume group in my particular example. The disk is already initialized, so it seems it isn't possible to do anything with the extra space as a result. Again, from the LVM GUI only... On Sun, May 12, 2013 at 8:18 PM, solarflow99 wrote: > I think what you need to do is expand the volume group, then increase any > of your logical volumes within it. then you should be able to do a > resize2fs online. If you have a preference to use a GUI tool, I know > gparted live works well. > > > > > On Sun, May 12, 2013 at 7:08 PM, Marco Shaw wrote: > >> I'm playing around trying to see how to resize disks with RHEL6.4 on >> VMware Workstation 9. >> >> I installed the OS and used up 20GB of /dev/sda (with /boot, lv_root and >> lv_swap). Then I went in VMware and increased the disk (/dev/sda) from >> 20GB to 25GB. >> >> Now in the LVM GUI, I see that extra 5GB in /dev/sda as "Unpartioned >> space". Specifically in the LVM *GUI*, can I do anything with this space >> to make it usable? Do I have to go to the command-line to create a >> partition first? >> >> Also: >> sg3_utils has a "scsi-rescan" command (reference >> http://jreypo.wordpress.com/2010/10/28/how-to-rescan-the-scsi-bus-in-linux/). >> Is there a GUI equivalent? >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From solarflow99 at gmail.com Sun May 12 23:59:52 2013 From: solarflow99 at gmail.com (solarflow99) Date: Sun, 12 May 2013 19:59:52 -0400 Subject: [rhelv6-list] LVM and "unpartioned space" In-Reply-To: References: Message-ID: that tool has been depreciated for a while, I noticed a few minor things wrong with it before. https://bugzilla.redhat.com/show_bug.cgi?id=517759 I'm sure you'll have excellent results with gpated On Sun, May 12, 2013 at 7:38 PM, Marco Shaw wrote: > I actually prefer CLI, but I'm researching this for a mainly Windows OS > admin audience. > > I'll try again, I'm pretty sure the LVM GUI wasn't allowing me to expand > the volume group in my particular example. The disk is already > initialized, so it seems it isn't possible to do anything with the extra > space as a result. Again, from the LVM GUI only... > > On Sun, May 12, 2013 at 8:18 PM, solarflow99 wrote: > >> I think what you need to do is expand the volume group, then increase any >> of your logical volumes within it. then you should be able to do a >> resize2fs online. If you have a preference to use a GUI tool, I know >> gparted live works well. >> >> >> >> >> On Sun, May 12, 2013 at 7:08 PM, Marco Shaw wrote: >> >>> I'm playing around trying to see how to resize disks with RHEL6.4 on >>> VMware Workstation 9. >>> >>> I installed the OS and used up 20GB of /dev/sda (with /boot, lv_root and >>> lv_swap). Then I went in VMware and increased the disk (/dev/sda) from >>> 20GB to 25GB. >>> >>> Now in the LVM GUI, I see that extra 5GB in /dev/sda as "Unpartioned >>> space". Specifically in the LVM *GUI*, can I do anything with this space >>> to make it usable? Do I have to go to the command-line to create a >>> partition first? >>> >>> Also: >>> sg3_utils has a "scsi-rescan" command (reference >>> http://jreypo.wordpress.com/2010/10/28/how-to-rescan-the-scsi-bus-in-linux/). >>> Is there a GUI equivalent? >>> >> > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From b.j.smith at ieee.org Mon May 13 04:33:35 2013 From: b.j.smith at ieee.org (Bryan J Smith) Date: Mon, 13 May 2013 00:33:35 -0400 Subject: [rhelv6-list] LVM and "unpartioned space" In-Reply-To: References: Message-ID: On Sun, May 12, 2013 at 7:38 PM, Marco Shaw wrote: > I actually prefer CLI, but I'm researching this for a mainly Windows OS > admin audience. > As a _current_ MCITP/MCSE/MCSA, I have a pair of Stanek reference books [1] [2] on my desk right here. Why? Because you can only do some things from the CLI in NT now, and even the newer 70-41x exams for 2012 _test_ for them. Why? They are no longer "optional," especially since the emphasis is on "Core," no longer GUI. And unlike GNU, with its command-line standards, NT is _not_ as strong (having been passed through many outsourcing and team losses through the years). CLI partitioning in NT is painful, and Logical Disk Manager (LDM) is really painful, at the CLI. Even NT 6.1 and 6.2 Server versions, 2008 and 2012 respectively, have completely _different_ deployment models that require _different_ CLI tools. It's why I'm waiting for a good reference on 2012, which may be Stanek as well [3], although I was hopeful a the 3rd Edition of his CL Ref. [1] With that said ... > I'll try again, I'm pretty sure the LVM GUI > The system-config-lvm command is _deprecated_ in RHEL6. [4] Use gnome-disk-utility (palimpsest) instead. It combines many features into one. It's features may be limited in RHEL6 compared to newer Fedora versions (I'm on F17 here). But it is deprecated on RHEL6 too, with the gnome-disk-utility (palimpsest) or the CLI tools recommended. E.g., previously you would have had to use separate programs for: - Disk Labels/Slicing (Partition Tables/Partitions): gparted (GUI Parted) - LVM Management: system-config-lvm The latter will only make use of slices (partitions) that have been created, and ideally, set with type 8E hex (LVM). > wasn't allowing me to expand the volume group in my particular example. > That's because it's not always best to do so. The Slice (Partition) is in use, and the DeviceMapper is mapping the boundaries, along with the kernel holding the Disk Label (MBR Partition Table format) entries. One can manually change the Label, and then tell the kernel to reload. After that, one can then resize the Physical Volume (PV). Since the Volume Group (VG) is just made up of that one (1), existing PV, it would then change. But it's easier to add the Slice (Partition) as a new PV, and then add the new PV to the VG. That would do the same, and be "cleaner," because DeviceMapper doesn't have to change the address mappings for the existing Slice and PV. It just adds another Slice and a new PV. If you're using the legacy "system-config-lvm" tool, it doesn't slice. You need to use "gparted" to do such. The disk is already initialized, so it seems it isn't possible to do > anything with the > extra space as a result. > Has _nothing_ to do with "disk initialization." That phrase just means a Disk Label is now on the disk, typically MBR Partition Table or GUID Partition Table (GPT) format, on the PC. The former is the legacy 16-bit BIOS/DOS format. When Linux doesn't detect any Disk Label on the disk (including non-PC Disk Labels), it offers to "initialize." NT/Windows has a similar phrase. If you change the underlying disk sizing in your HyperVisor, in addition to redetecting (such as with a SCSI command), you may need to run "partprobe" and/or "kpartx." You should always do so after adding any slices (partitions). That almost always works, adding the new slices (partitions). If you "extend" the geometry on a slice (partition), then things get trickier. The geometry has changed on an existing slice (partition) in use. The "kpartx" command may work with select options for the specific slice. And ... again ... system-config-lvm does _not_ provide this functionality at all. It only modifies LVM components, like adding Physical Volumes to Volume Groups, creating Logical Volumes in Volume Groups, etc... > Again, from the LVM GUI only... > Which does _not_ manage slices (partitions). What you're seeing under "uninitialized" are just unformated slices (partitions) or free space. LVM doesn't like to mess with the "raw" slices (partitions), or modify the Disk Label (Partition Table) itself. Use the newer gnome-disk-utility (palimpsest). It's even more featured in newer Fedora versions, but should be capable of such under RHEL6. If not, there is always "gparted." But learning the base LVM set of tools (pvs, vgs, lvs, pvcreate, vgcreate/vgextend, lvcreate/lvextend) is really ideal. They should learn how PV -> VG -> LV come together, let alone how Disk Labels (Partition Tables) work. After all, that would be good for NT/Windows administration as well. But then again, 99% of Windows admins ask me to architect their Storage, Networking Services and ... my favorite ... "AD Migrations" for them. They have never seen an LDIF file, and are much less familiar with LDIFDE.EXE. Several try to get "smart" with me, and tell me to use PowerShell. But in reality, writing an implementation-script doesn't interest me, when LDIF (even if some attributes are clearly AD-only) is far more portable and re-usable. That's before we look at the fact that PowerShell is like running Java as your shell interpreter (.NET, same rules, inheritance, etc...). It's not a good replacement for good CLI and editing. It's better utilized when you don't already have a solid, industry-standard format like LDIF already. Like things we previously used Perl::Win32 for because Microsoft did _not_ have a good scripting language prior to PowerShell. It's bad enough the NT CLI and PowerShell already disagree enough. ;) -- bjs [1] Stanek, Windows Command-Line Administrator's Pocket Consultant, 2nd Edition, MS Press - http://www.amazon.com/dp/0735622620/ [2] Stanek, Windows PowerShell(TM) 2.0 Administrator's Pocket Consultant, MS Press - http://www.amazon.com/dp/0735625956/ [3] Stanek, Windows Server 2012 Pocket Consultant, MS Press - http://www.amazon.com/dp/B0096E1HLW/ [4] RHEL 6 Migration Planning Guide - https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Migration_Planning_Guide/ "system-config-lvm The system-config-lvm tool has been deprecated. Management of logical volumes can be performed via the gnome-disk-util or the lvm tools." -- Bryan J Smith - Professional, Technical Annoyance b.j.smith at ieee.org - http://www.linkedin.com/in/bjsmith -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdwheele at indiana.edu Thu May 23 14:19:49 2013 From: bdwheele at indiana.edu (Brian Wheeler) Date: Thu, 23 May 2013 10:19:49 -0400 Subject: [rhelv6-list] Missing deps? Message-ID: <519E2585.3010406@indiana.edu> I'm doing some consulting work and for some reason there are a bunch of packages which don't seem available on their system...but they're ok on mine :( In particular, things related to java. When I try to install tomcat6 it fails and a "yum deplist tomcat6" shows the 'java' dependency being unsatisfied. That's really weird since openjdk (1.6 and 1.7) as well as the 1.6 sun version. I installed the java-1.6.0-sun-devel package manually from RPMs from my satellite since theirs didn't have it in the supplementary channel, and yum localinstall wouldn't process it -- it wouldn't even mention the missing dependencies. The only differences I see between their setup and mine is that I'm using RHN classic but they're using the subscription managern and our RHN sources are different: mine is a campus local one, and they appear to be using RH's. Anybody have any idea what the heck is going on with this? subscription manager show's it is subscribed (until November) Thanks! Brian From bdwheele at indiana.edu Thu May 23 14:23:39 2013 From: bdwheele at indiana.edu (Brian Wheeler) Date: Thu, 23 May 2013 10:23:39 -0400 Subject: [rhelv6-list] Missing deps? In-Reply-To: <519E2585.3010406@indiana.edu> References: <519E2585.3010406@indiana.edu> Message-ID: <519E266B.3020203@indiana.edu> It should ready "That's really weird since openjdk (1.6 and 1.7) as well as the 1.6 sun version are installed" On 05/23/2013 10:19 AM, Brian Wheeler wrote: > I'm doing some consulting work and for some reason there are a bunch > of packages which don't seem available on their system...but they're > ok on mine :( > > In particular, things related to java. > > When I try to install tomcat6 it fails and a "yum deplist tomcat6" > shows the 'java' dependency being unsatisfied. That's really weird > since openjdk (1.6 and 1.7) as well as the 1.6 sun version. > > I installed the java-1.6.0-sun-devel package manually from RPMs from > my satellite since theirs didn't have it in the supplementary channel, > and yum localinstall wouldn't process it -- it wouldn't even mention > the missing dependencies. > > The only differences I see between their setup and mine is that I'm > using RHN classic but they're using the subscription managern and our > RHN sources are different: mine is a campus local one, and they > appear to be using RH's. > > Anybody have any idea what the heck is going on with this? > subscription manager show's it is subscribed (until November) > > Thanks! > Brian > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list From eng-partner-management at redhat.com Thu May 30 18:05:19 2013 From: eng-partner-management at redhat.com (Engineering Partner Management) Date: Thu, 30 May 2013 14:05:19 -0400 Subject: [rhelv6-list] Red Hat Developer Toolset 2.0 Beta Now Available for Testing Message-ID: <51A794DF.2080902@redhat.com> Red Hat is pleased to announce the Beta availability of Red Hat Developer Toolset 2.0. This latest version bridges development agility with production stability by delivering the latest stable versions of essential development tools to enhance developer productivity and improve deployment times. Red Hat Developer Toolset 2.0 introduces new tools to its content set ? including the Eclipse integrated development environment (IDE) ? and updates key packages to help developers deliver new applications and functionality faster. Red Hat Developer Toolset enables C and C++ developers to compile once and deploy to multiple versions of Red Hat Enterprise Linux on physical, virtual, and cloud environments. Moreover, Red Hat Developer Toolset can be used to develop applications for deployment on Red Hat Enterprise Linux and on OpenShift, offering customers exceptional flexibility. Red Hat Developer Toolset 2.0 delivers the following capabilities and enhancements: * Eclipse 4.3.0 weaves together a full set of tools required for software development in the most popular programming languages into an IDE, thereby enhancing developer productivity. * Dyninst 8.0 delivers a powerful application program interface (API) that aids the development of performance measurement tools, debuggers, and simulators by permitting the insertion of code into a running program. * Strace 4.7 helps developers more efficiently debug programs and identify the root cause of crashes or other unexpected behaviors by tracking the system calls made and received by a process. * MEMSTOMP provides tools to help identify code with undefined behavior at a lower runtime cost than other tools such as Valgrind. * Updated GNU Compiler Collection (GCC) 4.8 offers significant enhancements including: * Improvements in generated code quality on ia32 and x86-64 targets via a new, Red Hat contributed Local Register Allocator * Support for the latest C++ language specification * Ability to compile extremely large functions with smaller memory consumption in less time * Support for Hardware Transactional Memory on upcoming Intel CPU architectures * Additional updates, including elfutils 0.155, SystemTap 2.1, Valgrind 3.8.1, OProfile 0.9.8 and DWZ 0.10. In addition to these enhancements, Red Hat Developer Toolset 2.0 also continues to deliver software collections functionality, which enables the concurrent installation of multiple versions of the same RPM packages on a system. RED HAT DEVELOPER TOOLSET 2.0 BETA AVAILABILITY Red Hat Developer Toolset 2.0 is available now to customers with an active Red Hat Enterprise Linux developer-related subscription. This includes: * Red Hat Enterprise Linux Developer Suite https://www.redhat.com/apps/store/developers/rhel_developer_suite.html * Red Hat Enterprise Linux Developer Support Subscriptions https://www.redhat.com/apps/store/developers/rhel_developer_support_professional.html * Red Hat Enterprise Linux Developer Workstation https://www.redhat.com/apps/store/developers/rhel_developer_workstation_professional.html * NFR subscriptions for qualifying Partners To learn more about Red Hat developer offerings, visit the Red Hat Enterprise Linux Developer Program page at https://access.redhat.com/products/Red_Hat_Enterprise_Linux/Developer/ PARTICIPATING IN THE RED HAT DEVELOPER TOOLSET 2.0 BETA To install the Red Hat Developer Toolset 2.0 Beta, please visit: https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/2-Beta/html/User_Guide/index.html ADDITIONAL RESOURCES To access additional documentation for Red Hat Developer Toolset (requires login), visit: * Red Hat Developer Toolset 2.0 Beta documentation: * Red Hat Developer Toolset 2.0 Beta Release notes: https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/2-Beta/html/2.0_Release_Notes/index.html * Red Hat Developer Toolset 2.0 Beta User Guide: https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/2-Beta/html/User_Guide/index.html * Red Hat Software Collections Guide: https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/2-Beta/html/Software_Collections_Guide/index.html * Other Red Hat Enterprise Linux documentation: https://access.redhat.com/knowledge/docs/Red_Hat_Enterprise_Linux/ Sincerely, The Red Hat Enterprise Linux Team