[CentOS] An odd X question
I've got a headless server running CentOS 7. I've got a user who wants to run some graphical software on it, and view using x forwarding. What I don't have clear is how to set this up. I've just installed xorg-x11-server-[Xorg, common]. I assume I need to run X, but I don't see running this in runlevel 5. Thoughts? mark and why is it called xorg-x11-server, when in X terminology, it's the client?* * Which I always thought was bass-ackward, but... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An odd X question
On Thu, 25 Jun 2015 at 15:55 -, m.r...@5-cent.us wrote: I've got a headless server running CentOS 7. I've got a user who wants to run some graphical software on it, and view using x forwarding. What I don't have clear is how to set this up. I've just installed xorg-x11-server-[Xorg, common]. I assume I need to run X, but I don't see running this in runlevel 5. For (ssh based) X forwarding no X server needs to run on the server. I usually install the xorg-x11-xauth (necessary) and xterm (optional) rpms on all my servers in case X forwarding becomes necessary. Then from your desktop (assuming Linux already running X) in a local xterm do something like: ssh -Y remote-system Once logged into the remote system you should now have a DISPLAY environment variable set which will tell any client applications how to connect back to the X server on your desktop. For example, just run xterm on the remote server and a xterm window will pop up on your display. This is just an example. You could run xload or any other basic X application. You can also run more complex applications. Many will run fine. Other applications may perform poorly (due to the X protocol chattiness: Firefox, etc). Other applications will have other issues (some gnome/kde/gtk applications make other assumptions about being on the same system as the window manager and try to use dbus and local system things). Note about -X versus -Y with ssh: -X enables basic X forwarding, It disables some X functionality making it safer to allow. -X also stops working after about 20 minutes (this is by design but not well documented). I only recently learned why it would stop working after pulling out the last of my hair. -Y allows the full X protocol which might be a security risk. Some applications will only work with -Y. With this, remote X applications can grab keyboard interactions, grab passwords, put windows on top of other windows (obscuring security messages), etc. For my own choice I use -Y (although I only enable it occasionally to specific systems). Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An odd X question
On 06/25/15 15:55, m.r...@5-cent.us wrote: I've got a headless server running CentOS 7. I've got a user who wants to run some graphical software on it, and view using x forwarding. What I don't have clear is how to set this up. I've just installed xorg-x11-server-[Xorg, common]. I assume I need to run X, but I don't see running this in runlevel 5. Thoughts? mark and why is it called xorg-x11-server, when in X terminology, it's the client?* * Which I always thought was bass-ackward, but... The easiest way to think of this is that the host on which you are going to watch the output needs a running X server, the source just needs the client application. Of course this also presumes that network and permissions are all in place. The test that I've always used is to run a simple xclient on the remote host, xclock, xeyes, xterminal and see if it show up, if it does you are good to go. Pete -- If money can fix it, it's not a problem. -- Click and Clack the Tappet brothers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS-announce] CESA-2015:1185 Moderate CentOS 6 nss-util Security Update
CentOS Errata and Security Advisory 2015:1185 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1185.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 07b2323f67221bfa440bcbf79d099b401f0b05539d5c7c6054682eea1a054043 nss-util-3.19.1-1.el6_6.i686.rpm 3a33c0c12ce812e18d86d1ba0601546ba645babb4b129f5318472180ddfb3ccb nss-util-devel-3.19.1-1.el6_6.i686.rpm x86_64: 07b2323f67221bfa440bcbf79d099b401f0b05539d5c7c6054682eea1a054043 nss-util-3.19.1-1.el6_6.i686.rpm 6d18c09300d59c832734701ff7403398a46ef2faa8897ae52f88d204a2d610a2 nss-util-3.19.1-1.el6_6.x86_64.rpm 3a33c0c12ce812e18d86d1ba0601546ba645babb4b129f5318472180ddfb3ccb nss-util-devel-3.19.1-1.el6_6.i686.rpm abceb0b92d73c562720382d69b6e9af3d72f85257fb66dbad9de07652e68e844 nss-util-devel-3.19.1-1.el6_6.x86_64.rpm Source: 8b4f5d17d8260f788fc58e0d22bc4f6d79481822be4218403e3d8dfc7f92229b nss-util-3.19.1-1.el6_6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CESA-2015:1185 Moderate CentOS 7 nss-util Security Update
CentOS Errata and Security Advisory 2015:1185 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1185.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: 2ef5f1ea879e3bb34c930bdcb7ebea42bb1f3a3440e4f8f61b34a9bf042a42eb nss-util-3.19.1-1.el7_1.i686.rpm c379f6530da7996ea4d52370038ff0dde6f69395b4b38bd184f9ea3ff93cd066 nss-util-3.19.1-1.el7_1.x86_64.rpm 420eda8ab708d8b616e19288813a47f6a82f013c58ca474d91d544d4b4fe7951 nss-util-devel-3.19.1-1.el7_1.i686.rpm f4609893801a577d38f7a447775120bcef017207fabab038152ed248d8b262f2 nss-util-devel-3.19.1-1.el7_1.x86_64.rpm Source: 25631048669b631db267364a4adff132c337756e91b3880db2ca5f6cc0e05219 nss-util-3.19.1-1.el7_1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CESA-2015:1185 Moderate CentOS 7 nss Security Update
CentOS Errata and Security Advisory 2015:1185 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1185.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: c36669d51214d57b5a82f9b079c12ff025b33dfdc417376f01ad3538ba44ede2 nss-3.19.1-3.el7_1.i686.rpm 67217f72404c892ec99f3620176a88815865c9e0760cfcde205ccb438c27c936 nss-3.19.1-3.el7_1.x86_64.rpm 796fd60bf87cc31757a284190ef1471ecf6d677c48efc1867b5ca70ed07254bf nss-devel-3.19.1-3.el7_1.i686.rpm 24105b14d55d7fe635d2a61b428f14e6f60f97592ee973e9627cf4a67acfc963 nss-devel-3.19.1-3.el7_1.x86_64.rpm 94d8574d74fdf11669e69adc0c8a9c05ee261feb186bb742cfe6ca76d651454f nss-pkcs11-devel-3.19.1-3.el7_1.i686.rpm 6b020d9acf4a76177c3bba65766a32f486e669da53464ea4b5a33dbc6a119eed nss-pkcs11-devel-3.19.1-3.el7_1.x86_64.rpm 43911fd7e9c230d4ed1f92cf709e150d2a671228256a6abaa99bd2ee541287a8 nss-sysinit-3.19.1-3.el7_1.x86_64.rpm f724e35a7efafae8f3babbb7274adb518c642a098fd087cdc09fab867b7b4a43 nss-tools-3.19.1-3.el7_1.x86_64.rpm Source: 3560838cde182f07528ad9cde1afbd899b3274c50328c21c1ccb521ffa327e29 nss-3.19.1-3.el7_1.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS-announce] CESA-2015:1185 Moderate CentOS 6 nss Security Update
CentOS Errata and Security Advisory 2015:1185 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2015-1185.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: a74da22a4f4859a8a476af17f4f871901bb90da15afcf16665a66f0b6c71afdb nss-3.19.1-3.el6_6.i686.rpm 5386cf07a44380ffb202ba7e82f10220d36abc97478b49993b7a95690d085c9d nss-devel-3.19.1-3.el6_6.i686.rpm d3da3f8d93cf5505d4d3c83a1f4cf610ffccf96f6dae68e18d9ec0befea03198 nss-pkcs11-devel-3.19.1-3.el6_6.i686.rpm 66ae3f655a0f04df9a4ab92a744a3754c5634097e305692a71908a2b26e99f85 nss-sysinit-3.19.1-3.el6_6.i686.rpm f95028d6f4dab7cac8b000a6d5edc8ad50b4c51fa9098a11bd1537278c589d65 nss-tools-3.19.1-3.el6_6.i686.rpm x86_64: a74da22a4f4859a8a476af17f4f871901bb90da15afcf16665a66f0b6c71afdb nss-3.19.1-3.el6_6.i686.rpm 527b9685f9466312d5dc12fd5c95a17eaca308b93cb6e6e2b6e90f67b6199839 nss-3.19.1-3.el6_6.x86_64.rpm 5386cf07a44380ffb202ba7e82f10220d36abc97478b49993b7a95690d085c9d nss-devel-3.19.1-3.el6_6.i686.rpm 3e9aad3ff99d1c8dd83246b5182715bcf6b3fa7b3ac8d185aa39808c5365b3eb nss-devel-3.19.1-3.el6_6.x86_64.rpm d3da3f8d93cf5505d4d3c83a1f4cf610ffccf96f6dae68e18d9ec0befea03198 nss-pkcs11-devel-3.19.1-3.el6_6.i686.rpm d43230dd26cd5d746e578f2b8dd45dde8b9db72810bcdc43aa1675c5d8138832 nss-pkcs11-devel-3.19.1-3.el6_6.x86_64.rpm 5544ff6bb87c77715fa11ad9ad61941f57dffdfde8427129c75090ae0f1851da nss-sysinit-3.19.1-3.el6_6.x86_64.rpm d682e4187fda2f1bea70fb7795887bdb7fc6168167fb51fc58bacd87b90c nss-tools-3.19.1-3.el6_6.x86_64.rpm Source: b30fb858dcec5a154713cfd27386aa48def4cf819f2ed39f586c513f8eb1d209 nss-3.19.1-3.el6_6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS] CentOS-announce Digest, Vol 124, Issue 13
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CEBA-2015:1180 CentOS 6 kdebase-workspace BugFix Update (Johnny Hughes) 2. CEBA-2015:1181 CentOS 6 resource-agents BugFixUpdate (Johnny Hughes) 3. CEBA-2015:1182 CentOS 7 spamassassin FASTTRACKBugFix Update (Johnny Hughes) -- Message: 1 Date: Wed, 24 Jun 2015 11:48:01 + From: Johnny Hughes joh...@centos.org To: centos-annou...@centos.org Subject: [CentOS-announce] CEBA-2015:1180 CentOS 6 kdebase-workspace BugFix Update Message-ID: 20150624114801.ga56...@n04.lon1.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2015:1180 Upstream details at : https://rhn.redhat.com/errata/RHBA-2015-1180.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 3f6d88392299834369f0dc5c4f86baf323417aaa409e5b58daaa86a9c9e68829 kdebase-workspace-4.3.4-30.el6_6.i686.rpm 6347bc4b6155060ae654271f0761cefff84bbc4550b81d335437438145b05b04 kdebase-workspace-akonadi-4.3.4-30.el6_6.i686.rpm 6b0a17dc25a328cde571c9b80a4777a32dcb8874f283f253d1f54e941c6dfd1c kdebase-workspace-devel-4.3.4-30.el6_6.i686.rpm 2b3508584d1a1f79d95e5a2566d59980330f4dfe8a44e7e74b924361b9c48cb1 kdebase-workspace-libs-4.3.4-30.el6_6.i686.rpm f324c331c4c8b169d168ae0b7dd37e77a341df170de9895e51f3c1dc2982a112 kdebase-workspace-python-applet-4.3.4-30.el6_6.i686.rpm 4b6334b13161f3b23ce271d0a4d38129483b8cec77075972e043034915efc4e6 kdebase-workspace-wallpapers-4.3.4-30.el6_6.noarch.rpm 55bfd8daf41d207ae0051b31e2c811b9023fe9d16b0267d1cbbe9040e74a17d2 kdm-4.3.4-30.el6_6.i686.rpm 40bbfe9aa15744d6971811ccd966b695f6b3335316546c80dc2c7f08e1f0d047 ksysguardd-4.3.4-30.el6_6.i686.rpm ebd8ef145e2d1a7c101e02da1f04200d03a6b9e5401fdc43c405f5ac4d256cd4 oxygen-cursor-themes-4.3.4-30.el6_6.noarch.rpm x86_64: 9219e30a29bc81c4b2d31bdcecba7774d75d1909d5162b7312eff8ec99972ddf kdebase-workspace-4.3.4-30.el6_6.x86_64.rpm 7388b4d6818b4914d2a4f812d54820bda72762113f7252e218d7ffc6f4677d25 kdebase-workspace-akonadi-4.3.4-30.el6_6.x86_64.rpm 6b0a17dc25a328cde571c9b80a4777a32dcb8874f283f253d1f54e941c6dfd1c kdebase-workspace-devel-4.3.4-30.el6_6.i686.rpm 04701e7b0f2cb25112540456c8de64d0b2e2c2b0dfbca160d682c6ae9fadaa49 kdebase-workspace-devel-4.3.4-30.el6_6.x86_64.rpm 2b3508584d1a1f79d95e5a2566d59980330f4dfe8a44e7e74b924361b9c48cb1 kdebase-workspace-libs-4.3.4-30.el6_6.i686.rpm d4860b2d83767d6454ca2b8623afe2bfdd00234b570b61b81aa1175ce638cb6c kdebase-workspace-libs-4.3.4-30.el6_6.x86_64.rpm 7a6ba4bcfc2401db8b6a5341327cf5a7d0a11c74c92c25290ba02e1e01d18d0c kdebase-workspace-python-applet-4.3.4-30.el6_6.x86_64.rpm 4b6334b13161f3b23ce271d0a4d38129483b8cec77075972e043034915efc4e6 kdebase-workspace-wallpapers-4.3.4-30.el6_6.noarch.rpm 450da92e9b9bd08a3429e35fda30e98f7dd316083db841b05e47c219a7fb0f8a kdm-4.3.4-30.el6_6.x86_64.rpm 4c04b9b7ea2fe85a69b584f13527aa7b163bf2fe17c64a91ae0959dd2ac3537b ksysguardd-4.3.4-30.el6_6.x86_64.rpm ebd8ef145e2d1a7c101e02da1f04200d03a6b9e5401fdc43c405f5ac4d256cd4 oxygen-cursor-themes-4.3.4-30.el6_6.noarch.rpm Source: 55837600e115f5c886b00b14b2b467e54f42be110365b9acb8f265da0f12a041 kdebase-workspace-4.3.4-30.el6_6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 2 Date: Wed, 24 Jun 2015 11:50:18 + From: Johnny Hughes joh...@centos.org To: centos-annou...@centos.org Subject: [CentOS-announce] CEBA-2015:1181 CentOS 6 resource-agents BugFix Update Message-ID: 20150624115018.ga56...@n04.lon1.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Bugfix Advisory 2015:1181 Upstream details at : https://rhn.redhat.com/errata/RHBA-2015-1181.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 830df3099492595e440c9f82527dfd40a6a4e2441bde09957fac4ea41dff86db resource-agents-3.9.5-12.el6_6.7.i686.rpm x86_64: 2ce77aa52bb83c459aa03a7ea0b8a41e9b245ad036260f78c630836b5d8ba8af resource-agents-3.9.5-12.el6_6.7.x86_64.rpm f07ca4bd64173453b60ded6c8421ee1f4d29d3557f7af8b06adeef5c2b63fec1 resource-agents-sap-3.9.5-12.el6_6.7.x86_64.rpm 979e8a18f7d8b4cce19bf8e0d45a050cb498d0c63247f3a4214d46649747fe48 resource-agents-sap-hana-3.9.5-12.el6_6.7.x86_64.rpm Source:
[CentOS-announce] CEBA-2015:1180 CentOS 6 kdebase-workspace BugFix Update
CentOS Errata and Bugfix Advisory 2015:1180 Upstream details at : https://rhn.redhat.com/errata/RHBA-2015-1180.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 3f6d88392299834369f0dc5c4f86baf323417aaa409e5b58daaa86a9c9e68829 kdebase-workspace-4.3.4-30.el6_6.i686.rpm 6347bc4b6155060ae654271f0761cefff84bbc4550b81d335437438145b05b04 kdebase-workspace-akonadi-4.3.4-30.el6_6.i686.rpm 6b0a17dc25a328cde571c9b80a4777a32dcb8874f283f253d1f54e941c6dfd1c kdebase-workspace-devel-4.3.4-30.el6_6.i686.rpm 2b3508584d1a1f79d95e5a2566d59980330f4dfe8a44e7e74b924361b9c48cb1 kdebase-workspace-libs-4.3.4-30.el6_6.i686.rpm f324c331c4c8b169d168ae0b7dd37e77a341df170de9895e51f3c1dc2982a112 kdebase-workspace-python-applet-4.3.4-30.el6_6.i686.rpm 4b6334b13161f3b23ce271d0a4d38129483b8cec77075972e043034915efc4e6 kdebase-workspace-wallpapers-4.3.4-30.el6_6.noarch.rpm 55bfd8daf41d207ae0051b31e2c811b9023fe9d16b0267d1cbbe9040e74a17d2 kdm-4.3.4-30.el6_6.i686.rpm 40bbfe9aa15744d6971811ccd966b695f6b3335316546c80dc2c7f08e1f0d047 ksysguardd-4.3.4-30.el6_6.i686.rpm ebd8ef145e2d1a7c101e02da1f04200d03a6b9e5401fdc43c405f5ac4d256cd4 oxygen-cursor-themes-4.3.4-30.el6_6.noarch.rpm x86_64: 9219e30a29bc81c4b2d31bdcecba7774d75d1909d5162b7312eff8ec99972ddf kdebase-workspace-4.3.4-30.el6_6.x86_64.rpm 7388b4d6818b4914d2a4f812d54820bda72762113f7252e218d7ffc6f4677d25 kdebase-workspace-akonadi-4.3.4-30.el6_6.x86_64.rpm 6b0a17dc25a328cde571c9b80a4777a32dcb8874f283f253d1f54e941c6dfd1c kdebase-workspace-devel-4.3.4-30.el6_6.i686.rpm 04701e7b0f2cb25112540456c8de64d0b2e2c2b0dfbca160d682c6ae9fadaa49 kdebase-workspace-devel-4.3.4-30.el6_6.x86_64.rpm 2b3508584d1a1f79d95e5a2566d59980330f4dfe8a44e7e74b924361b9c48cb1 kdebase-workspace-libs-4.3.4-30.el6_6.i686.rpm d4860b2d83767d6454ca2b8623afe2bfdd00234b570b61b81aa1175ce638cb6c kdebase-workspace-libs-4.3.4-30.el6_6.x86_64.rpm 7a6ba4bcfc2401db8b6a5341327cf5a7d0a11c74c92c25290ba02e1e01d18d0c kdebase-workspace-python-applet-4.3.4-30.el6_6.x86_64.rpm 4b6334b13161f3b23ce271d0a4d38129483b8cec77075972e043034915efc4e6 kdebase-workspace-wallpapers-4.3.4-30.el6_6.noarch.rpm 450da92e9b9bd08a3429e35fda30e98f7dd316083db841b05e47c219a7fb0f8a kdm-4.3.4-30.el6_6.x86_64.rpm 4c04b9b7ea2fe85a69b584f13527aa7b163bf2fe17c64a91ae0959dd2ac3537b ksysguardd-4.3.4-30.el6_6.x86_64.rpm ebd8ef145e2d1a7c101e02da1f04200d03a6b9e5401fdc43c405f5ac4d256cd4 oxygen-cursor-themes-4.3.4-30.el6_6.noarch.rpm Source: 55837600e115f5c886b00b14b2b467e54f42be110365b9acb8f265da0f12a041 kdebase-workspace-4.3.4-30.el6_6.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net ___ CentOS-announce mailing list CentOS-announce@centos.org http://lists.centos.org/mailman/listinfo/centos-announce
[CentOS] Trying to update a CentOS 7.1 docker image, getting errors on yum update regarding iputils
Hi All; Is there a corrupt iputils rpm located on one or more of the CentOS update file servers? Here's an excerpt of the output of my yum update -y command: Updating : iputils-20121221-6.el7_1.1.x86_64 17/44Error unpacking rpm package iputils-20121221-6.el7_1.1.x86_64 error: unpacking of archive failed on file /usr/bin/ping: cpio: cap_set_file error: iputils-20121221-6.el7_1.1.x86_64: install failed Advice please. Thanks, Ken Wolcott ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] loading centos on a Sun Gen opereron x86
I am trying to load centos on a gen opteron x86 but since the boxes are out of support, I am unable to find firmware for it. Any suggestions on where I might find the drivers? Thanks, Dan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On 06/25/2015 01:20 PM, Chris Adams wrote: ...It's basically a way to assemble one arbitrary set of block devices and then divide them into another arbitrary set of block devices, but now separate from the underlying physical structure. Regular partitions have various limitations (one big one on Linux being that modifying the partition table of a disk with in-use partitions is a PITA and most often requires a reboot), and LVM abstracts away some of them. I'll give an example. I have a backup server, and for various reasons (hardlinks primarily) all the data needs to be in a single filesystem. However, this is running on an older VMware ESX server, and those have a 2TB LUN size limit. So, even though my EMC Clariion arrays can deal with 10TB LUNs without issue, the VMware ESX and all of its guests cannot. So, I have a lot of RDMs for the guests. The backup server's LVM looks like this: [root@backup-rdc ~]# pvscan PV /dev/sdd1 VG vg_opt lvm2 [1.95 TB / 0free] PV /dev/sde1 VG vg_opt lvm2 [1.95 TB / 0free] PV /dev/sdf1 VG vg_opt lvm2 [1.95 TB / 0free] PV /dev/sda2 VG VolGroup00 lvm2 [39.88 GB / 0free] PV /dev/sdg1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdh1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdi1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdj1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdk1 VG bak-rdclvm2 [1.47 TB / 0free] PV /dev/sdl1 VG bak-rdclvm2 [1.47 TB / 0free] PV /dev/sdm1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdn1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdo1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdp1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdq1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdr1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdb1 VG bak-rdclvm2 [1.95 TB / 0free] PV /dev/sdc1 VG bak-rdclvm2 [1.95 TB / 0free] Total: 18 [32.27 TB] / in use: 18 [32.27 TB] / in no VG: 0 [0 ] [root@backup-rdc ~]# lvscan ACTIVE'/dev/vg_opt/lv_backups' [5.86 TB] inherit ACTIVE'/dev/VolGroup00/LogVol00' [37.91 GB] inherit ACTIVE'/dev/VolGroup00/LogVol01' [1.97 GB] inherit ACTIVE'/dev/bak-rdc/cx3-80' [26.37 TB] inherit [root@backup-rdc ~]# It's just beautiful the way I can take another 1.95 TB LUN, add it to the volume group, expand the logical volume, and then expand the underlying filesystem (XFS) and just dynamically add storage. Being on an EMC Clariion foundation, I don't have to worry about the RAID, either, as the RAID6 and hotsparing is done by the array. SAN and LVM were made for each other. And, if and when I either migrate the guest over to physical hardware on the same SAN or migrate to some other virtualization, I can use LVM's tools to migrate from all those 1.95 and 1.47 TB LUNs over to a few larger LUNs and blow away the smaller LUNs while the system is online. And the EMC Clariion FLARE OE software allows me great flexibility in moving LUNs around in the array for performance and other reasons. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /boot on a separate partition?
On Tue, 23 Jun 2015 at 09:27 -, Robert Heller wrote: Another advantage of having /boot on its own partition is supporting multiple linux flavors that is, it is possible to 'share' /boot between CentOS, Fedora, Ubuntu, Debian, etc. if one wants to, although it is really easier to pick one system for your 'host' and then install VMs for all of the others, but sometimes one needs to test things with different Linux flavors *on the bare metal* for various reasons. This might work until the different OS installations start arguing about the version of grub/grub2 and the contents of the grub configuration file (including whose grub configuration files to use). They tend to do this during kernel updates and at other times. Having grub take over your main boot choice is as silly as Windows assuming it is the only OS installed. I have long preferred to use a single / partition for each OS installation and put the system specific grub image in the individual partition. I use the 1 sector (MBR) FreeBSD bootloader to boot the partition I want at boot time. Note that grub2 doesn't like this and spews an error message, but it does work (mostly) (grub2 needs to be fixed to support this functionality and not assume it can become the master boot process). This does tend to limit you to 3 OS choices in the primary partitions (assuming a 4th extended partition for data partitions). That usually is enough for my purposes. With EFI systems, this is changing and my experiences are not complete enough to have strong opinions. It does look like the EFI boot process conceptually handles this by letting the user choose which EFI application to load first (using efimanager). EFI disk based booting does still need the DOS formatted partition often mounted at /boot/efi. For booting encrypted systems, I do put /boot in separate partitions (with the corresponding / being an extended partition). I still use a separate MBR boot loader to select which /boot I use. Stuart -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On 06/23/2015 01:54 PM, Marko Vojinovic wrote: So the story ended up with lots of people in upgrading griefs purely because they couldn't resize the separate /boot partition, and it was separate because LVM was present, and LVM was present with the goal of making partition resizing easy! A textbook example of a catch-22, unbelievable!! The Fedora /boot upsize was something I handled relatively easily with the LVM tools and another drive. I actually used an eSATA drive for this, but an internal or a USB external (which would have impacted system performance) could have been used. Here's what I did to resize my Fedora /boot when the upgrade required it several years back: 1.) Added a second drive that was larger than the drive that /boot was on; 2.) Created a PV on that drive; 3.) Added that PV to the volume group corresponding to the PV on the drive with /boot; 4.) Did a pvmove from the PV on the drive with /boot to the second drive (which took quite a while); 5.) Removed the PV on the drive with /boot from the volume group; 6.) Deleted the partition that previously contained the PV; 7.) Resized the /boot partition and its filesystem (this is doable while online, whereas resizing / online can be loads of fun); 8.) Created a new PV on the drive containing /boot; 9.) Added that PV back to the volume group; 10.) Resized the filesystems on the logical volumes on the volume group to shrink it to fit the new PV's space and resized the LV's accordingly (may require single-user mode to shrink some filesystems); 11.) Did a pvmove from the secondary drive back to the drive with /boot; 12.) Removed the secondary drive's PV from the VG (and removed the drive from the system). I was able to do this without a reboot step or going into single user mode since I had not allocated all of the space in the VG to LV's, so I was able to skip step 10. While the pvmoves were executing the system was fully up and running, but with degraded performance; no downtime was experienced until the maintenance window to do the version upgrade. Once step 12 completed, I was able to do the upgrade with no issues with /boot size and no loss of data on the volume group on the /boot drive. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On 6/24/2015 3:11 PM, 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. thanks, -chuck Gentoo Wiki has a pretty good cheat sheet on it: https://wiki.gentoo.org/wiki/LVM ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list centos@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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. The security issue is trivially dealt with. Install Webmin and configure it to listen on 127.0.0.1 using its standard port TCP1. Install Firefox on the same host and then run firefox from an 'ssh -Y' session using the --noremote option. If you are totally paranoid then firewall TCP1 as well, configure Webmin to use https only, and then only start the webmin service when you are performing maintenance. There are less draconian measures that are in my opinion equally secure from a practical standpoint but I am sure that you can figure those out on your own. The transparency issue is really unanswerable. There exists a school of thought that if you are going to administer a Linux system (or OS of the proponent's choice) then you should learn the command syntax of every command that you are called upon to use. This is the one-and-only path to enlightenment. Like upholding motherhood and promoting the wholesomeness of apple-pie this sort of moralizing really brooks no answer. You can guess my opinion on that line of puritanism. HA! You only really need to learn *one* command: the man command. The man provides 'enlightenment' for all other commands: man vgdisplay man lvdisplay man lvcreate man lvextend man lvresize man lvreduce man lvremove man e2fsck man resize2fs These are the only LVM commands I use regularly (yes there a a pile more, but most are rarely used and a handful only used in startup/shutdown scripts or when rescuing) and I often end up use the man command to refresh my memory of the command options. As you have painfully discovered, infrequently used utilities and commands are difficult to deal with. The process of learning, or relearning, the correct arcana is particularly noisome given the notorious inconsistency of syntaxes across different utilities and the spotty coverage of up-to-date documentation. Google can be a dangerous guide given the wide variation of practice across differing flavours of *nix and the widespread aversion to providing dates on writings. In consequence I consign transparency arguments and their proponents to the religious fanatic file. Nothing personal but there is no point in arguing belief systems. Right, expecting a *web search* to give *correct* command documentation is problematical. Using the local system man pages often works better, since the man pages installed with the installed utilities will cover the *installed* version and not the version that might be installed on a *different* distro, etc. If you want to get infrequently performed sysadmin tasks done reliably and with a minimum of fuss use something like Webmin and get on with the rest of your life. -- Robert Heller -- 978-544-6933 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. The security issue is trivially dealt with. Install Webmin and configure it to listen on 127.0.0.1 using its standard port TCP1. Install Firefox on the same host and then run firefox from an 'ssh -Y' session using the --noremote option. If you are totally paranoid then firewall TCP1 as well, configure Webmin to use https only, and then only start the webmin service when you are performing maintenance. There are less draconian measures that are in my opinion equally secure from a practical standpoint but I am sure that you can figure those out on your own. The transparency issue is really unanswerable. There exists a school of thought that if you are going to administer a Linux system (or OS of the proponent's choice) then you should learn the command syntax of every command that you are called upon to use. This is the one-and-only path to enlightenment. Like upholding motherhood and promoting the wholesomeness of apple-pie this sort of moralizing really brooks no answer. You can guess my opinion on that line of puritanism. As you have painfully discovered, infrequently used utilities and commands are difficult to deal with. The process of learning, or relearning, the correct arcana is particularly noisome given the notorious inconsistency of syntaxes across different utilities and the spotty coverage of up-to-date documentation. Google can be a dangerous guide given the wide variation of practice across differing flavours of *nix and the widespread aversion to providing dates on writings. In consequence I consign transparency arguments and their proponents to the religious fanatic file. Nothing personal but there is no point in arguing belief systems. If you want to get infrequently performed sysadmin tasks done reliably and with a minimum of fuss use something like Webmin and get on with the rest of your life. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
James B. Byrne 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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. snip Back in '06 or '07, I installed webmin on the RHEL systems I was working on. It was a tremendous help installing and configuring openLDAP, whose tools, at least through '08, were very definitely *NOT* ready for prime time. Webmin let me beat it into submission. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On 06/25/2015 11:03 AM, James B. Byrne 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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. The security issue is trivially dealt with. Install Webmin and configure it to listen on 127.0.0.1 using its standard port TCP1. Install Firefox on the same host and then run firefox from an 'ssh -Y' session using the --noremote option. If you are totally paranoid then firewall TCP1 as well, configure Webmin to use https only, and then only start the webmin service when you are performing maintenance. There are less draconian measures that are in my opinion equally secure from a practical standpoint but I am sure that you can figure those out on your own. The transparency issue is really unanswerable. There exists a school of thought that if you are going to administer a Linux system (or OS of the proponent's choice) then you should learn the command syntax of every command that you are called upon to use. This is the one-and-only path to enlightenment. Like upholding motherhood and promoting the wholesomeness of apple-pie this sort of moralizing really brooks no answer. You can guess my opinion on that line of puritanism. As you have painfully discovered, infrequently used utilities and commands are difficult to deal with. The process of learning, or relearning, the correct arcana is particularly noisome given the notorious inconsistency of syntaxes across different utilities and the spotty coverage of up-to-date documentation. Google can be a dangerous guide given the wide variation of practice across differing flavours of *nix and the widespread aversion to providing dates on writings. In consequence I consign transparency arguments and their proponents to the religious fanatic file. Nothing personal but there is no point in arguing belief systems. If you want to get infrequently performed sysadmin tasks done reliably and with a minimum of fuss use something like Webmin and get on with the rest of your life. That is fine until suddenly you find yourself without your crutch. -- Stephen Clark *NetWolves Managed Services, LLC.* Director of Technology Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS-es] Vpn pptpd
Hola César, Para una VPN site-to-site te recomiendo OpenVPN o LibreSWan. En mi caso, tengo una vpn con LibreSWAN entre mi oficina y otras 10 en diferentes paises y nunca he tenido inconvenientes salvo por problemas con el internet. Saludos y éxitos en tu proyecto. *JAVIER AQUINO* Jefe de TI C LEXUS EDITORES El 25 de junio de 2015, 11:08, César Martinez cmarti...@servicomecuador.com escribió: Saludos amigos listeros, acudo a ustedes con una consulta, quiero implementar una VPn con pptp entre dos servidores Linux para unir dos oficinas distantes, cada una tiene un proveedor de internet diferente y van a tener un servidor Linux centos con una ip publica fija , he usado pptpd pero solo con un servidor y los clientes deben realizar una conexión nueva para conectarse, existe la posibilidad de hacerlo con pptp pero sin necesidad que los usuarios deban crear esta nueva conexión, es decir solo van a cualesquiera de las redes de las oficinas ingresan a al red y ya pueden ver archivos y carpetas de la otra red. Agradeciendo a todos. -- Saludos Cordiales |César Martínez | Ingeniero de Sistemas | SERVICOM |Tel: (593-2)554-271 2221-386 | Ext 4501 |Celular: 0999374317 |Skype servicomecuador |Web www.servicomecuador.com Síguenos en: |Twitter: @servicomecuador |Facebook: servicomec |Zona Clientes: www.servicomecuador.com/billing |Blog: http://servicomecuador.com/blog |Dir. Av. 10 de Agosto N29-140 Entre |Acuña y Cuero y Caicedo |Quito - Ecuador - Sudamérica ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Tue, 2015-06-23 at 11:15 -0500, Jason Warr wrote: On 6/23/2015 10:33 AM, Marko Vojinovic wrote: Inside / (which is mostly always ext4), 100% of the time. :-) That said, I prefer virtual machines over multiboot environments, and I absolutely despise LVM --- that cursed thing is never getting on my drives. Never again, that is... I'm curious what has made some people hate LVM so much. Having to read the documentation? That has always been what I assumed - people want to do something without being bothered with understanding what they are doing. I have been using it for years on ... Yep. Use it on every server, no exceptions, never had issues I did not cause myself - and moving storage around, adding storage, all on running servers... never a problem. -- Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 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@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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. snip HA! You only really need to learn *one* command: the man command. The man provides 'enlightenment' for all other commands: man vgdisplay man lvdisplay man lvcreate man lvextend man lvresize man lvreduce man lvremove man e2fsck man resize2fs snip You missed one: man man. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
Once upon a time, Adam Tauno Williams awill...@whitemice.org said: There may be numerous commands... but isn't it pretty obvious what each one of them do? Often lvtabtab is plenty of hinting to get to the right thing. And each of the commands uses the same syntax for options. The key thing is to know the LVM architecture. Once you have a basic grasp of that, the rest is usually pretty easy to figure out. At the bottom, you have some block device. This is most often a standard disk partition (e.g. /dev/sda2); in some cases, it may be a whole disk (e.g. /dev/sdb). The first layer of LVM is the physical volume (PV). This is basically importing a block device into the LVM stack; the PV uses the name of the underlying block device (so still /dev/sda2 or /dev/sdb). You put one or more PVs into a volume group (VG), and give it a name (e.g. vg_myhost, but there's nothing special about putting vg_ at the front, that's just something some people do). This is where the functionality and flexibility starts to come into play. A VG can have multiple PVs and spread data across them, do RAID, move blocks from one PV to another, etc. You then divide up a VG into logical volumes (LVs), also giving them names (e.g. lv_root; again, lv_ is just a common naming scheme, not a requirement). This is where you can do snapshots, thin provisioning, etc. At that point, you'll have a new block device, like /dev/vg_myhost/lv_root, and you can make filesystems, assign to VMs, set up swap, etc. The commands at each layer of LVM follow a similar scheme, so there's pvcreate, vgcreate, and lvcreate for example. The arguments also follow a common scheme. For the regular admin stuff, you can typically figure out with a --help what you need (using the man page as a refresher or extended reference). It's basically a way to assemble one arbitrary set of block devices and then divide them into another arbitrary set of block devices, but now separate from the underlying physical structure. Regular partitions have various limitations (one big one on Linux being that modifying the partition table of a disk with in-use partitions is a PITA and most often requires a reboot), and LVM abstracts away some of them. LVM is a set of commands and modules layered on top of the Linux kernel's device mapper system. DM is just a way to map block A of virtual device X to block B of physical device Y; at one point, there was some discussion of kicking partition handling out of the kernel and just going with DM for everything (requires some form of init ramdisk though which complicates some setups). -- Chris Adams li...@cmadams.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS-es] Vpn pptpd
Saludos amigos listeros, acudo a ustedes con una consulta, quiero implementar una VPn con pptp entre dos servidores Linux para unir dos oficinas distantes, cada una tiene un proveedor de internet diferente y van a tener un servidor Linux centos con una ip publica fija , he usado pptpd pero solo con un servidor y los clientes deben realizar una conexión nueva para conectarse, existe la posibilidad de hacerlo con pptp pero sin necesidad que los usuarios deban crear esta nueva conexión, es decir solo van a cualesquiera de las redes de las oficinas ingresan a al red y ya pueden ver archivos y carpetas de la otra red. Agradeciendo a todos. -- Saludos Cordiales |César Martínez | Ingeniero de Sistemas | SERVICOM |Tel: (593-2)554-271 2221-386 | Ext 4501 |Celular: 0999374317 |Skype servicomecuador |Web www.servicomecuador.com Síguenos en: |Twitter: @servicomecuador |Facebook: servicomec |Zona Clientes: www.servicomecuador.com/billing |Blog: http://servicomecuador.com/blog |Dir. Av. 10 de Agosto N29-140 Entre |Acuña y Cuero y Caicedo |Quito - Ecuador - Sudamérica ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, 2015-06-25 at 11:50 -0400, Robert Heller wrote: At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list centos@centos.org wrote:HA! You only really need to learn *one* command: the man command. The man provides 'enlightenment' for all other commands: man vgdisplay man lvdisplay man lvcreate man lvextend man lvresize man lvreduce man lvremove man e2fsck man resize2fs These are the only LVM commands I use regularly (yes there a a pile more, but most are rarely used and a handful only used in startup/shutdown scripts or when rescuing) There may be numerous commands... but isn't it pretty obvious what each one of them do? Often lvtabtab is plenty of hinting to get to the right thing. And each of the commands uses the same syntax for options. spotty coverage of up-to-date documentation. Google can be a dangerous guide given the wide variation of practice across differing.. Yes, exactly. DO NOT USE GOOGLE - USE THE ^@$^* DOCUMENTATION! Right, expecting a *web search* to give *correct* command documentation is problematical. Using the local system man pages often works better, since the man pages installed with the installed utilities will cover the *installed* version and not the version that might be installed on a *different* +1 If you want to get infrequently performed sysadmin tasks done reliably and with a minimum of fuss use something like Webmin and get on with the rest of your life. And take notes! You are sitting at a computer after all. -- Adam Tauno Williams mailto:awill...@whitemice.org GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, Jun 25, 2015 at 10:49:57AM -0500, Jason Warr wrote: On 6/24/2015 3:11 PM, 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. thanks, -chuck Gentoo Wiki has a pretty good cheat sheet on it: https://wiki.gentoo.org/wiki/LVM I have my own page, limited and out of date but.. http://srobb.net/lvm.html -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, June 25, 2015 11:59 am, Scott Robbins wrote: On Thu, Jun 25, 2015 at 10:49:57AM -0500, Jason Warr wrote: On 6/24/2015 3:11 PM, 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. thanks, -chuck Gentoo Wiki has a pretty good cheat sheet on it: https://wiki.gentoo.org/wiki/LVM I have my own page, limited and out of date but.. http://srobb.net/lvm.html AFAIK, your page exists forever. This is how I first learned LVM: from your page. (Not that I use LVM much, but whenever I need to do something LVM, I'm confident I can - using your webpage). Thanks a lot!! Valeri -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] /boot on a separate partition?
Timothy Murphy gayleard at eircom.net Tue Jun 23 12:49:08 UTC 2015 Do most people today have /boot on a separate partition, or do they (you) have it on the / partition ? Different distros have different defaults. There's no actual right or wrong here. Pretty much anything you can think of can be made to work. Jonathan Billings billings at negate.org Tue Jun 23 13:28:18 UTC 2015 Not only do I have a /boot partition, but I have a /boot/efi partition. It's bad design. First, it's a nested mount: file system A on /, and file system B on /boot, and file system C on /boot/efi. Therefore the mount process must make sure they're mounted in that order, or there's failure. Second, there is no good reason for the EFI System partition to ever be mounted; and multiple reasons to not ever mount it (Windows and OS X never mount the EFI System partition but somehow all the Linux distros are obsessed with mounting things that don't need mounting). Eventually systemd will become smarter and handle on-demand dynamic mount and umount, including the ESP so this will get better but even better would be not ever mounting it in the first place. I probably could get away without using the /boot partition, but I've been experimenting with btrfs and snapshots and it makes sense to keep /boot as an ext4 filesystem. I disagree, yet I'm curious what example you have that this makes sense. This ext4 /boot is unique to F/C/RH's dependency on grubby which doesn't grok Btrfs subvolumes, and therefore kernel updates don't get written to grub.cfg properly if /boot is on a Btrfs subvolume. GRUB, including grub2-mkconfig figures out subvolumes just fine. It's specifically a limitation of RH distros. Ubuntu and openSUSE don't have this problem. I suspect with the move to XFS it might be a good idea to keep an ext4 /boot too. There's no advantage to it being ext4. The default installation for Fedora 22 Server, CentOS/RHEL 7 is /boot on XFS, and / on a separate XFS, and /home on a separate XFS. Just like with ext4, except with XFS. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyncing directories - sanity check
Have you considered just resizing the volumes? That'd probably be my preference. But in my role at this company I don't have the direct access to do that. I'd probably have to open up a ticket to another department and have it done when 'they get around to it'. In say 3 or 4 weeks. On my own servers no sweat. But at work. nah. not really practical. Thanks for the suggestion anyway! On Wed, Jun 24, 2015 at 2:33 PM, Gordon Messmer gordon.mess...@gmail.com wrote: On 06/24/2015 09:42 AM, Tim Dunphy wrote: And for some reason when the servers were ordered the large local volume ended up being /usr when the ES rpm likes to store it's indexes on /var. So I'm syncing the contents of both directories to a different place, and I'm going swap the large local volume from /usr to /var. Have you considered just resizing the volumes? If you're trying to swap them with rsync, you're going to have to reboot anyway, and relabel your system. If any daemons are running, you might also corrupt their data this way. The entire /var partition is only using 549MB: rsync: write failed on /opt/var/log/lastlog: No space left on device (28) Depending on what UIDs are allocated to your users, lastlog can be an enormous sparse file. You would need to use rsync's -S flag to copy it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
At Thu, 25 Jun 2015 13:18:04 -0400 CentOS mailing list centos@centos.org wrote: Robert Heller wrote: At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list centos@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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. snip HA! You only really need to learn *one* command: the man command. The man provides 'enlightenment' for all other commands: man vgdisplay man lvdisplay man lvcreate man lvextend man lvresize man lvreduce man lvremove man e2fsck man resize2fs snip You missed one: man man. It is 'presumed' that one has learned the man command itself and never ever need to do a 'man man' :-). From there all other knowledge flows... mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Robert Heller -- 978-544-6933 Deepwoods Software-- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services hel...@deepsoft.com -- Webhosting Services ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
John R Pierce wrote: On 6/25/2015 11:12 AM, James A. Peltier wrote: You forgot man this opinion thread is getting really long No manual entry for this opinion thread is getting really long That's obviously not the case: it's *all* manual entry of text g mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
- Original Message - | 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 You forgot man this opinion thread is getting really long -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 604-365-6432 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca/itservices Twitter : @sfu_rcg Powering Engagement Through Technology ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, Jun 25, 2015 at 12:05:13PM -0500, Valeri Galtsev wrote: On Thu, June 25, 2015 11:59 am, Scott Robbins wrote: On Thu, Jun 25, 2015 at 10:49:57AM -0500, Jason Warr wrote: AFAIK, your page exists forever. This is how I first learned LVM: from your page. (Not that I use LVM much, but whenever I need to do something LVM, I'm confident I can - using your webpage). Thanks a lot!! And thank you for the kind words. It's always good to hear that these things benefit someone. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, June 25, 2015 12:18 pm, m.r...@5-cent.us wrote: Robert Heller wrote: At Thu, 25 Jun 2015 11:03:18 -0400 CentOS mailing list centos@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 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 reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. At the risk of some ridicule I suggest that you look at installing Webmin. It is a web based system administration tool that I find invaluable. The two most common complaints I encounter when I discuss its merits are 'security' and 'transparency'. snip HA! You only really need to learn *one* command: the man command. The man provides 'enlightenment' for all other commands: man vgdisplay man lvdisplay man lvcreate man lvextend man lvresize man lvreduce man lvremove man e2fsck man resize2fs snip You missed one: man man. Cool! this makes my day! It is just itching to add two more: man info info man Valeri Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM hatred, was Re: /boot on a separate partition?
On 6/25/2015 11:12 AM, James A. Peltier wrote: You forgot man this opinion thread is getting really long No manual entry for this opinion thread is getting really long -- john r pierce, recycling bits in santa cruz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LVM hatred, was Re: /boot on a separate partition?
Gordon Messmer gordon.messmer at gmail.com Wed Jun 24 01:42:13 UTC 2015 I wondered the same thing, especially in the context of someone who prefers virtual machines. LV-backed VMs have *dramatically* better disk performance than file-backed VMs. I did a bunch of testing of Raw, qcow2, and LV backed VM storage circa Fedora 19/20 and found very little difference. What mattered most was the (libvirt) cache setting, accessible by virsh edit the xml config or virt-manager through the GUI. There have been a lot of optimizations in libvirt and qemu that make qcow2 files perform comparable to LVs. For migrating VMs, it's easier if they're a file. And qcow2 snapshots are more practical than LVM (thick) snapshots. The thin snapshots are quite good though they take a lot of familiarity with setting them up. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LVM hatred, was Re: /boot on a separate partition?
Mike - st257 silvertip257 at gmail.com Tue Jun 23 16:40:47 UTC 2015 On Tue, Jun 23, 2015 at 12:15 PM, Jason Warr jason at warr.net wrote: I'm curious what has made some people hate LVM so much. I have been using it for years on thousands of No clue. My experiences with LVM have been positive as well. And in opinion it doesn't add much complexity (if you know the LVM tools, you're fine). Flexibility is worth an ounce of complexity. I think LVM is badass, however if you don't know the LVM tools, you're instantly tossed deep into the weeds. Most every letter, lower and upper case, seems to be used twice by each of the lvm commands. I don't have enough fingers to count the number of lvm commands. There's so much intricate detail required for creating LVM layouts and doing snapshots and snapshot deletion compared to Btrfs that I've just about given up on LVM. I've also never had Btrfs snapshots explode on me like LVM thinp snapshots have when the metadata pool wasn't made big enough in advance (and it isn't made big enough by default, apparently). Most any typical maneuver done on LVM can be done much more easily and intuitively with Btrfs. So these days I just focus on Btrfs even though I definitely don't hate LVM. On desktop Linux, making LVM the default layout I think is a bad decision. It causes mortal users more trouble than it's worth. I'd be a bit more accommodating if LVM had integrated encryption with live bi-directional conversion. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] An odd X question
On Thu, 25 Jun 2015 15:55:41 -0400 m.r...@5-cent.us wrote: mark and why is it called xorg-x11-server, when in X terminology, it's the client?* * Which I always thought was bass-ackward, but... You should think of it this way: the program that wants something drawn on the screen is a client; the program that does the drawing is the server. The client asks the server to draw stuff on the screen, and server is, well... servicing those requests, from various clients. So the server is always the local Xorg process that draws your display, while any remote or local program that wants things drawn on it is the client. The fact that one of them is remote and the other local is of course completely irrelevant for the client/server terminology, contrary to common opinion. This last thing is what confuses people --- they usually think of the word server as the remote machine, while client is the local machine. That is the wrong way to understand the words server and client. HTH, :-) Marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LVM hatred, was Re: /boot on a separate partition?
Chris Adams linux at cmadams.net Wed Jun 24 19:06:19 UTC 2015 Btrfs may eventually obsolete a lot of uses of LVM, but that's down the road. LVM is the emacs of storage. It'll be here forever. Btrfs doesn't export (virtual) block devices like LVM can, so it can't be a backing for say iSCSI. And it's also at the moment rather catatonic when it comes to VM images. This is mitigated if you set xattr +C at image create time (it must be zero length file for +C to take). But if you cp --reflink or snapshot the containing subvolume, then COW starts to happen for new writes to either copy; overwrites to either copies newly written blocks are nocow. So anyway you can quickly get into complicated states with VM images on Btrfs. I'm not sure of the long term plan. This is how to set xattr +C at qcow2 create time, only applicable when the qcow2 is on Btrfs. # qemu-img create -o nocow=on But really piles more testing is needed to better understand some things with Btrfs and VMs. It's all quite complicated what's going on with these layers. Even though my VM images get monstrous numbers of fragments if I don't use +C, I haven't yet seen a big performance penalty as a result when the host and guest are using Btrfs and the cache is set to unsafe. Now, you might say, that's crazy! It's called unsafe for a reason! Yes, but I've also viscously killed the VM while writes were happening and at most I lose a bit of data that was in flight, the guest fs is not corrupt at all, not even any complaints on the remount. I've got limited testing killing the host while the writes are happening, and there is more data loss due to delayed allocation probably, but again the host and guest Btrfs are fine - no mount complaints at all. And you kinda hope the host isn't often dying... NTFS in qcow2 on Btrfs without +C however? From Btrfs list anecdote this combination appears to cause hundreds of thousands of fragments in short order, and serious performance penalties. But I haven't tested this. I'm guessing something about NTFS journalling and flushing, and suboptimal cache setting for libvirt is probably causing too aggressive flushes to disk and each flush is a separate extent. Just a guess. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LVM hatred, was Re: /boot on a separate partition?
Chris Adams linux at cmadams.net Wed Jun 24 13:14:34 UTC 2015 There are plenty of people that have documented the performance differences, just Google it. This is consistent with what I've experienced. Minimal difference. http://web-docs.gsi.de/~tstibor/iozone/qcow.vs.lvm/ -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyncing directories - sanity check
Hello Tim, On 06/24/2015 07:42 PM, Tim Dunphy wrote: rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32) rsync: write failed on /opt/var/log/lastlog: No space left on device (28) lastlog is a VERY large SPARSE file and when you rsync it it looses the sparsity and tries to copy all the data to /opt ls -al -h /var/log/lastlog -rw-r--r--. 1 root root *94G* Jun 25 09:10 /var/log/lastlog Real space on disk du -h /var/log/lastlog *60K* /var/log/lastlog Lec ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos