Re: [CentOS] Master - Slave Split DNS
On 2/17/2015 11:17 PM, aditya hilman wrote: I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? your master and slaves really should be geographically distributed, so this problem wouldn't come up. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Hi Niki, md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has the wrong size. What's the output of lsblk? Regards Michael - Ursprüngliche Mail - Von: Niki Kovacs i...@microlinux.fr An: CentOS mailing list CentOS@centos.org Gesendet: Mittwoch, 18. Februar 2015 08:09:13 Betreff: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares? Hi, I just replaced Slackware64 14.1 running on my office's HP Proliant Microserver with a fresh installation of CentOS 7. The server has 4 x 250 GB disks. Every disk is configured like this : * 200 MB /dev/sdX1 for /boot * 4 GB /dev/sdX2 for swap * 248 GB /dev/sdX3 for / There are supposed to be no spare devices. /boot and swap are all supposed to be assembled in RAID level 1 across 4 disks. The / partition is supposed to be assembled in RAID level 5 across 4 disks. With Slackware I created the arrays manually like this: # mdadm --create /dev/md1 --level=1 --raid-devices=4 --metadata=0.90 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 # mdadm --create /dev/md2 --level=1 --raid-devices=4 --metadata=0.90 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 # mdadm --create /dev/md3 --level=5 --raid-devices=4 --metadata=0.90 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3 Using this setup, I had 650 MB of disk space on /dev/md3. Now I tried to do the same thing with CentOS 7. Everything seemed to work at first, but here's what I got now: [root@nestor:~] # df -h Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur /dev/md127 226G1,1G 213G 1% / devtmpfs 1,4G 0 1,4G 0% /dev tmpfs 1,4G 0 1,4G 0% /dev/shm tmpfs 1,4G8,5M 1,4G 1% /run tmpfs 1,4G 0 1,4G 0% /sys/fs/cgroup /dev/md125 194M 80M 101M 45% /boot /dev/sde1 917G 88M 871G 1% /mnt The root partition (/dev/md127) only shows 226 G of space. So where has everything gone? [root@nestor:~] # cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md125 : active raid1 sdc2[2] sdd2[3] sdb2[1] sda2[0] 204736 blocks super 1.0 [4/4] [] md126 : active raid1 sdd1[3] sdc1[2] sdb1[1] sda1[0] 4095936 blocks super 1.2 [4/4] [] md127 : active raid5 sdc3[2] sdb3[1] sdd3[4] sda3[0] 240087552 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [] bitmap: 0/1 pages [0KB], 65536KB chunk unused devices: none [root@nestor:~] # mdadm -D /dev/md127 /dev/md127: Version : 1.2 Creation Time : Wed Feb 18 06:49:01 2015 Raid Level : raid5 Array Size : 240087552 (228.97 GiB 245.85 GB) Used Dev Size : 80029184 (76.32 GiB 81.95 GB) Raid Devices : 4 Total Devices : 4 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Feb 18 08:04:26 2015 State : active Active Devices : 4 Working Devices : 4 Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 512K Name : localhost:root UUID : cfc13fe9:8fa811d8:85649402:58c4846e Events : 4703 Number Major Minor RaidDevice State 0 830 active sync /dev/sda3 1 8 191 active sync /dev/sdb3 2 8 352 active sync /dev/sdc3 4 8 513 active sync /dev/sdd3 Apparently no spare devices have been created. So why do I only have 226 GB of disk space under CentOS, when I had roughly 650 GB under Slackware? I'm a bit lost here. Any suggestions? Cheers, Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ 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] Master - Slave Split DNS
On 02/18/2015 08:17 PM, aditya hilman wrote: Hi folks, I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? Thanks. Been a while since I did this, but as I recall I had to set up a second local IP address to transfer the external zone files so it could distinguish between the internal and external requests. HTH ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
i am going to sit the rest of this out and read Michael's book. ;-) -- peace out. in a world with out fences, who needs gates. CentOS GNU/Linux 6.6 tc,hago. g . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 18/02/2015 09:59, Niki Kovacs a écrit : └─sdd3 8:51 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / Any idea what's going on ? Ooops, just saw it. /dev/sdd3 apparently has the wrong size. As to why this is so, it's a mystery. I'll investigate further into this. (Since this is the office's gateway, I'll take some time to respond eventually. No server = no Internet :oD) Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Master - Slave Split DNS
Am 18.02.2015 um 12:26 schrieb Leon Fauster leonfaus...@googlemail.com: Am 18.02.2015 um 08:17 schrieb aditya hilman aditya.hil...@gmail.com: Hi folks, I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? add to your external view allow-notify { local ip; }; sorry - i meant also-notify ... -- LF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On 02/18/2015 03:01 AM, Niki Kovacs wrote: Le 18/02/2015 09:59, Niki Kovacs a écrit : └─sdd3 8:51 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / Any idea what's going on ? Ooops, just saw it. /dev/sdd3 apparently has the wrong size. As to why this is so, it's a mystery. I'll investigate further into this. (Since this is the office's gateway, I'll take some time to respond eventually. No server = no Internet :oD) actually, it looks like problem is with /dev/md3, not just /dev/sdd3, as _all_ drives are wrong in their 3rd partition. -- peace out. in a world with out fences, who needs gates. CentOS GNU/Linux 6.6 tc,hago. g . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Hi Niki, in fact all of the sdX3 partitions are of size 76.4G. Maybe they were created by the installer as part of a partition scheme and you forget to resize them when removing other partitions from the scheme? Anyway, it should be fine if you recreate the partitions with the right size and then recreate the array. Michael - Ursprüngliche Mail - Von: Niki Kovacs i...@microlinux.fr An: centos@centos.org Gesendet: Mittwoch, 18. Februar 2015 10:01:49 Betreff: Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares? Le 18/02/2015 09:59, Niki Kovacs a écrit : └─sdd3 8:51 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / Any idea what's going on ? Ooops, just saw it. /dev/sdd3 apparently has the wrong size. As to why this is so, it's a mystery. I'll investigate further into this. (Since this is the office's gateway, I'll take some time to respond eventually. No server = no Internet :oD) Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ 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] Master - Slave Split DNS
Am 18.02.2015 um 08:17 schrieb aditya hilman aditya.hil...@gmail.com: Hi folks, I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? add to your external view allow-notify { local ip; }; -- LF ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 18/02/2015 09:24, Michael Volz a écrit : Hi Niki, md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has the wrong size. What's the output of lsblk? [root@nestor:~] # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:00 232,9G 0 disk ├─sda1 8:10 3,9G 0 part │ └─md126 9:126 0 3,9G 0 raid1 [SWAP] ├─sda2 8:20 200M 0 part │ └─md125 9:125 0 200M 0 raid1 /boot └─sda3 8:30 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / sdb 8:16 0 232,9G 0 disk ├─sdb1 8:17 0 3,9G 0 part │ └─md126 9:126 0 3,9G 0 raid1 [SWAP] ├─sdb2 8:18 0 200M 0 part │ └─md125 9:125 0 200M 0 raid1 /boot └─sdb3 8:19 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / sdc 8:32 0 232,9G 0 disk ├─sdc1 8:33 0 3,9G 0 part │ └─md126 9:126 0 3,9G 0 raid1 [SWAP] ├─sdc2 8:34 0 200M 0 part │ └─md125 9:125 0 200M 0 raid1 /boot └─sdc3 8:35 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / sdd 8:48 0 232,9G 0 disk ├─sdd1 8:49 0 3,9G 0 part │ └─md126 9:126 0 3,9G 0 raid1 [SWAP] ├─sdd2 8:50 0 200M 0 part │ └─md125 9:125 0 200M 0 raid1 /boot └─sdd3 8:51 0 76,4G 0 part └─md127 9:127 0 229G 0 raid5 / Any idea what's going on ? -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On 02/18/2015 01:23 AM, Niki Kovacs wrote: Le 18/02/2015 08:09, Niki Kovacs a écrit : Apparently no spare devices have been created. So why do I only have 226 GB of disk space under CentOS, when I had roughly 650 GB under Slackware? An idea just crossed my mind. Could it be that 'df' is reporting a wrong partition size on the RAID 5 array? And how can I check if this is the case? i have not built any raid system in linux, but from reading, i saw that there is a little difference from unix. also, between linux flavors, there can be a lot of difference. in a way, case of... who wrote the book and how whoever is reading it. ie, Slackware and CentOS. looking at question of 'reporting', 'df' has various ways of reporting size and might/may/could be what is causing difference. so, until an exact reason/cause is replied... besides '-h', what other arguments for 'df' did you try? df --block-size=1000 df --block-size=1024 df --block-size=K df --block-size=M df --block-size=G df --si df -T instead of reading man df have a look at info coreutils 'df invocation' you can also use 'lsblk', which i find it to be off a bit due to how it rounds of sizes, except when using '-b' 'disk utility', 'system monitor', 'kde info center', 'gparted', are other ways of viewing allocation. much luck finding solution. -- peace out. in a world with out fences, who needs gates. CentOS GNU/Linux 6.6 tc,hago. g . ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with routing question.
On Wed, Feb 18, 2015 at 11:39 AM, James B. Byrne byrn...@harte-lyne.ca wrote: We have a host that has multiple IPv4 addresses aliased to eth0. The primary address is 216.185.71.x and the alias is 192.168.6.x. This host connects to devices on both netblocks without problems. Only default routing is used and it looks like this: #ip route 192.168.6.0/24 dev eth0 proto kernel scope link src 192.168.6.x 216.185.71.0/24 dev eth0 proto kernel scope link src 216.185.71.x 169.254.0.0/16 dev eth0 scope link metric 1002 default via 192.168.6.1 dev eth0 src 192.168.6.x default via 216.185.71.1 dev eth0 1. Why is ssh using the private IP in preference to the public IP when connecting to off-site addresses? Because you have a default route for it. 2. How does one configure the routing table on network startup to specifically detail the route particular addresses are supposed to take? Not exactly sure how routing works with aliases on the same interface but the first thing I would try is the same as you would use on different interfaces. That is, leave the 'GATEWAY=' on your internet-facing etho, but remove the entry from the private eth0:192. Then add a route-eth0:192 file containing the network(s) and gateway for the private side. The source address it picks should be the one appropriate to reach the next-hop router specified in your routes. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with routing question.
Hi James, Simply remove the GATEWAY line from the eth0:192 interface config :D Then you'll had only one default gateway. And the source IP to all unknown address will be the routeable one. Att., Antonio. - James B. Byrne byrn...@harte-lyne.ca escreveu: De: James B. Byrne byrn...@harte-lyne.ca Para: centos@centos.org Enviadas: Quarta-feira, 18 de Fevereiro de 2015 15:39:16 (GMT-0300) Auto-Detected Assunto: [CentOS] Help with routing question. CentOS-6.6 We have a host that has multiple IPv4 addresses aliased to eth0. The primary address is 216.185.71.x and the alias is 192.168.6.x. This host connects to devices on both netblocks without problems. Only default routing is used and it looks like this: #ip route 192.168.6.0/24 dev eth0 proto kernel scope link src 192.168.6.x 216.185.71.0/24 dev eth0 proto kernel scope link src 216.185.71.x 169.254.0.0/16 dev eth0 scope link metric 1002 default via 192.168.6.1 dev eth0 src 192.168.6.x default via 216.185.71.1 dev eth0 When the system connects to internal systems via ssh it uses the src 216.185.71.x for devices on that netblock and 192.168.6.x for devices on the other. The problem is that when we try to establish an ssh connection off-site to another netblock altogether the host uses 192.168.6.x as the source and the destination gets the public side IP address of our gateway router as the point of origin due to masquerading. I have solved this by explicitly binding ssh to the public ipv4 when connecting using the --bind=216.185.71.x parameter. But I have two questions I would like to find answers for 1. Why is ssh using the private IP in preference to the public IP when connecting to off-site addresses? 2. How does one configure the routing table on network startup to specifically detail the route particular addresses are supposed to take? For diagnosis here are the ifcfg scripts used for both interfaces: DEVICE=eth0 BOOTPROTO=static BROADCAST=216.185.71.255 DNS1=216.185.71.33 GATEWAY=216.185.71.1 HWADDR=38:60:77:D5:AC:D8 IPADDR=216.185.71.x IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet UUID=0202e615-ce93-4fe1-833a-c11259afb850 DEVICE=eth0:192 BOOTPROTO=static BROADCAST=192.168.6.255 GATEWAY=192.168.6.1 IPADDR=192.168.6.x NETMASK=255.255.255.0 NM_CONTROLLED=no ONPARENT=yes TYPE=Ethernet -- *** E-Mail is NOT a SECURE channel *** 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 -- Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo. -- Antonio da Silva Martins Jr. Analista de Suporte NPD - Núcleo de Processamento de Dados UEM - Universidade Estadual de Maringá email: asmart...@uem.br fone: +55 (44) 3011-4015 / 3011-4411 inoc-dba: 263076*100 Real Programmers don’t need comments — the code is obvious. -- Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Help with routing question.
CentOS-6.6 We have a host that has multiple IPv4 addresses aliased to eth0. The primary address is 216.185.71.x and the alias is 192.168.6.x. This host connects to devices on both netblocks without problems. Only default routing is used and it looks like this: #ip route 192.168.6.0/24 dev eth0 proto kernel scope link src 192.168.6.x 216.185.71.0/24 dev eth0 proto kernel scope link src 216.185.71.x 169.254.0.0/16 dev eth0 scope link metric 1002 default via 192.168.6.1 dev eth0 src 192.168.6.x default via 216.185.71.1 dev eth0 When the system connects to internal systems via ssh it uses the src 216.185.71.x for devices on that netblock and 192.168.6.x for devices on the other. The problem is that when we try to establish an ssh connection off-site to another netblock altogether the host uses 192.168.6.x as the source and the destination gets the public side IP address of our gateway router as the point of origin due to masquerading. I have solved this by explicitly binding ssh to the public ipv4 when connecting using the --bind=216.185.71.x parameter. But I have two questions I would like to find answers for 1. Why is ssh using the private IP in preference to the public IP when connecting to off-site addresses? 2. How does one configure the routing table on network startup to specifically detail the route particular addresses are supposed to take? For diagnosis here are the ifcfg scripts used for both interfaces: DEVICE=eth0 BOOTPROTO=static BROADCAST=216.185.71.255 DNS1=216.185.71.33 GATEWAY=216.185.71.1 HWADDR=38:60:77:D5:AC:D8 IPADDR=216.185.71.x IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet UUID=0202e615-ce93-4fe1-833a-c11259afb850 DEVICE=eth0:192 BOOTPROTO=static BROADCAST=192.168.6.255 GATEWAY=192.168.6.1 IPADDR=192.168.6.x NETMASK=255.255.255.0 NM_CONTROLLED=no ONPARENT=yes TYPE=Ethernet -- *** E-Mail is NOT a SECURE channel *** 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] debuginfo versioning tools?
On Wed, Feb 18, 2015 at 10:08 AM, Jim Perrin jper...@centos.org wrote: On 02/17/2015 02:20 PM, Les Mikesell wrote: Are there any tools to help assemble libraries and debuginfo to examine core dumps that happened on another host where the versions don't match? Something like mock but build-version specific and with the debuginfo packages pulled in? I'm not sure of a one-step 'chroot-friendly' way to do this. You could probably script this up by abusing debuginfo-install's --installroot option after some minor chroot prep-work. It doesn't really need to be in a chroot - but otherwise you need to extract the lib/debuginfo rpm contents into non-standard locations and tell gdb to look there. Kind of tedious either way. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help with routing question.
Hi James, Antonio is correct. The default address is used when the destination address is not on a subnet that is on one of your local interfaces. Any packet destined for an address on the 192.168.6.0/24 subnet will automatically be sent with a source address of 192.168.6.1 Same with any packet destined for an address on the 216.185.71.0/24 subnet will be sent with a source address of 216.185.71.1. The kernel uses the first address on an interface as the primary address. You can see this if you just do ifconfig ifname, you will only see the first address you assign to the interface. Hope this helps, Steve On 02/18/2015 12:51 PM, Antonio S. Martins Jr. wrote: Hi James, Simply remove the GATEWAY line from the eth0:192 interface config :D Then you'll had only one default gateway. And the source IP to all unknown address will be the routeable one. Att., Antonio. - James B. Byrne byrn...@harte-lyne.ca escreveu: De: James B. Byrne byrn...@harte-lyne.ca Para: centos@centos.org Enviadas: Quarta-feira, 18 de Fevereiro de 2015 15:39:16 (GMT-0300) Auto-Detected Assunto: [CentOS] Help with routing question. CentOS-6.6 We have a host that has multiple IPv4 addresses aliased to eth0. The primary address is 216.185.71.x and the alias is 192.168.6.x. This host connects to devices on both netblocks without problems. Only default routing is used and it looks like this: #ip route 192.168.6.0/24 dev eth0 proto kernel scope link src 192.168.6.x 216.185.71.0/24 dev eth0 proto kernel scope link src 216.185.71.x 169.254.0.0/16 dev eth0 scope link metric 1002 default via 192.168.6.1 dev eth0 src 192.168.6.x default via 216.185.71.1 dev eth0 When the system connects to internal systems via ssh it uses the src 216.185.71.x for devices on that netblock and 192.168.6.x for devices on the other. The problem is that when we try to establish an ssh connection off-site to another netblock altogether the host uses 192.168.6.x as the source and the destination gets the public side IP address of our gateway router as the point of origin due to masquerading. I have solved this by explicitly binding ssh to the public ipv4 when connecting using the --bind=216.185.71.x parameter. But I have two questions I would like to find answers for 1. Why is ssh using the private IP in preference to the public IP when connecting to off-site addresses? 2. How does one configure the routing table on network startup to specifically detail the route particular addresses are supposed to take? For diagnosis here are the ifcfg scripts used for both interfaces: DEVICE=eth0 BOOTPROTO=static BROADCAST=216.185.71.255 DNS1=216.185.71.33 GATEWAY=216.185.71.1 HWADDR=38:60:77:D5:AC:D8 IPADDR=216.185.71.x IPV6INIT=yes IPV6_AUTOCONF=yes NETMASK=255.255.255.0 NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet UUID=0202e615-ce93-4fe1-833a-c11259afb850 DEVICE=eth0:192 BOOTPROTO=static BROADCAST=192.168.6.255 GATEWAY=192.168.6.1 IPADDR=192.168.6.x NETMASK=255.255.255.0 NM_CONTROLLED=no ONPARENT=yes TYPE=Ethernet -- *** E-Mail is NOT a SECURE channel *** 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 -- Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo. -- 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] Setting up new spacewalk server
Trying to use minimal ISOs The 64-bit CEL 7.0 and 6.6 look ok so far. but when I try to set up the CEL 6.6 i386, but I get the following - The initrd could not be found at the specified location: /var/distros/CentOS-6.6-i386/images/pxeboot/initrd.img It does have the initrd.img file in .../isolinux, but for some reason, not in .../images/pxeboot On Tue, Feb 17, 2015 at 3:36 PM, John R Pierce pie...@hogranch.com wrote: On 2/17/2015 12:31 PM, Eero Volotinen wrote: 2015-02-17 22:26 GMT+02:00 Eckert, Dougdoug.eck...@dowjones.com: We have a DHCP/PXE server in a build environment, which is separate from our Spacewalk v1.5 server. We direct builds to Satellite or Spacewalk based as needed. It contains initrd vmlinuz files for each version/arch we currently deploy for both RHEL CEL. I'd like to keep the storage footprint to a minimum, if possible. Keeping a big directory of ISOs to loop-mount for kickstart profile distributions seems excessive, especially when DVD#1 exceeds 4GB now. Is there any way around this requirement for kickstarting? How about using centos/rhel minimal iso for kickstarting ? indeed, thats what I do, and point at an nfs or http repository of the packages. the kickstart file contains all the configuration info for a particular setup. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 18/02/2015 09:24, Michael Volz a écrit : md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has the wrong size. What's the output of lsblk? I just spent a few hours experimenting with the CentOS 7 installer in a VirtualBox guest with four virtual hard disks. I can now confirm this is a very stupid bug in the (very stupid) installer. Or at least one more random weirdness. Here goes. The new installer is organized around mount points, which have to be defined first. OK, so I first define my mountpoint /boot, set it to 200 MB (which is enough), define it to be RAID level 1 across four disks with an ext2 filesystem. So far so good. Next step is similar, swap mountpoint is 2 GB, also RAID level 1 across four disks. Finally, the / (root partition) mountpoint is supposed to take up the full amount of remaining disk space. In my virtual guest, I defined 4 X 40 GB to fiddle with. The installer shows me something like 38.6 GB, which looks like the remaining space on each disk's partition. Now I define RAID level 5 across four disks... ... and here it comes. Once RAID level 5 is defined, I have to REDEFINE the maximum disk space by putting in a random large number, for example 4 X 40 GB = 160 GB. Because what is meant here is THE TOTAL RESULTING AMOUNT OF DISK SPACE IN THE RAID 5 ARRAY, AND NOT THE MAXIMUM SIZE OF A DISK PARTITION. So once I fill that field with 160 GB, the installer automagically sets it to 106.8 GB, which is in effect the maximum available disk space using RAID 5. Usability anyone? Cheers from the sunny South of France, Niki Kovacs -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up new spacewalk server
ISO pulled from http://mirror.rackspace.com/CentOS/6.6/isos/i386/CentOS-6.6-i386-minimal.iso # df -h /var/distros/CentOS-6.6-i386 FilesystemSize Used Avail Use% Mounted on /var/ISO/CentOS-6.6-i386-minimal.iso 339M 339M 0 100% /var/distros/CentOS-6.6-i386 # find /var/distros/CentOS-6.6-i386 -name initr\* /var/distros/CentOS-6.6-i386/isolinux/initrd.img # In fact, the /images is populated with images/install.img images/TRANS.TBL images/updates.img Nothing else. I can pull apart the ISO, create images/pxeboot, plop the vmlinuz initrd.img file into place and create a new ISO, but it seems like it should already be there, no? The 64-bit minimal ISOs for CEL 67 from the same source have them in the right place... I'd like to just ditch all the i386 stuff, but we do have some legacy systems that were built as such. On Wed, Feb 18, 2015 at 2:49 PM, Eckert, Doug doug.eck...@dowjones.com wrote: Trying to use minimal ISOs The 64-bit CEL 7.0 and 6.6 look ok so far. but when I try to set up the CEL 6.6 i386, but I get the following - The initrd could not be found at the specified location: /var/distros/CentOS-6.6-i386/images/pxeboot/initrd.img It does have the initrd.img file in .../isolinux, but for some reason, not in .../images/pxeboot On Tue, Feb 17, 2015 at 3:36 PM, John R Pierce pie...@hogranch.com wrote: On 2/17/2015 12:31 PM, Eero Volotinen wrote: 2015-02-17 22:26 GMT+02:00 Eckert, Dougdoug.eck...@dowjones.com: We have a DHCP/PXE server in a build environment, which is separate from our Spacewalk v1.5 server. We direct builds to Satellite or Spacewalk based as needed. It contains initrd vmlinuz files for each version/arch we currently deploy for both RHEL CEL. I'd like to keep the storage footprint to a minimum, if possible. Keeping a big directory of ISOs to loop-mount for kickstart profile distributions seems excessive, especially when DVD#1 exceeds 4GB now. Is there any way around this requirement for kickstarting? How about using centos/rhel minimal iso for kickstarting ? indeed, thats what I do, and point at an nfs or http repository of the packages. the kickstart file contains all the configuration info for a particular setup. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up new spacewalk server
Same is true for i386 6.5 and 6.4 minimal. I gave up after seeing the same thing on 3 ISOs, but it probably follows all the way down to 6.0. On Wed, Feb 18, 2015 at 3:53 PM, Eckert, Doug doug.eck...@dowjones.com wrote: ISO pulled from http://mirror.rackspace.com/CentOS/6.6/isos/i386/CentOS-6.6-i386-minimal.iso # df -h /var/distros/CentOS-6.6-i386 FilesystemSize Used Avail Use% Mounted on /var/ISO/CentOS-6.6-i386-minimal.iso 339M 339M 0 100% /var/distros/CentOS-6.6-i386 # find /var/distros/CentOS-6.6-i386 -name initr\* /var/distros/CentOS-6.6-i386/isolinux/initrd.img # In fact, the /images is populated with images/install.img images/TRANS.TBL images/updates.img Nothing else. I can pull apart the ISO, create images/pxeboot, plop the vmlinuz initrd.img file into place and create a new ISO, but it seems like it should already be there, no? The 64-bit minimal ISOs for CEL 67 from the same source have them in the right place... I'd like to just ditch all the i386 stuff, but we do have some legacy systems that were built as such. On Wed, Feb 18, 2015 at 2:49 PM, Eckert, Doug doug.eck...@dowjones.com wrote: Trying to use minimal ISOs The 64-bit CEL 7.0 and 6.6 look ok so far. but when I try to set up the CEL 6.6 i386, but I get the following - The initrd could not be found at the specified location: /var/distros/CentOS-6.6-i386/images/pxeboot/initrd.img It does have the initrd.img file in .../isolinux, but for some reason, not in .../images/pxeboot On Tue, Feb 17, 2015 at 3:36 PM, John R Pierce pie...@hogranch.com wrote: On 2/17/2015 12:31 PM, Eero Volotinen wrote: 2015-02-17 22:26 GMT+02:00 Eckert, Dougdoug.eck...@dowjones.com: We have a DHCP/PXE server in a build environment, which is separate from our Spacewalk v1.5 server. We direct builds to Satellite or Spacewalk based as needed. It contains initrd vmlinuz files for each version/arch we currently deploy for both RHEL CEL. I'd like to keep the storage footprint to a minimum, if possible. Keeping a big directory of ISOs to loop-mount for kickstart profile distributions seems excessive, especially when DVD#1 exceeds 4GB now. Is there any way around this requirement for kickstarting? How about using centos/rhel minimal iso for kickstarting ? indeed, thats what I do, and point at an nfs or http repository of the packages. the kickstart file contains all the configuration info for a particular setup. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com -- *Doug Eckert* *Technical Architect* *Global Business Technology* *Dow Jones* | *A News Corporation Company* P.O. Box 300 | Princeton NJ 08543-0300 (W) 609.520.4993 (C) 732.666.3681 *Email: **doug.eck...@dowjones.com* al...@dowjones.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On Wed, Feb 18, 2015 at 1:21 PM, Niki Kovacs i...@microlinux.fr wrote: Le 18/02/2015 09:24, Michael Volz a écrit : md127 apparently only uses 81.95GB per disk. Maybe one of the partitions has the wrong size. What's the output of lsblk? I just spent a few hours experimenting with the CentOS 7 installer in a VirtualBox guest with four virtual hard disks. I can now confirm this is a very stupid bug in the (very stupid) installer. Or at least one more random weirdness. Here goes. The new installer is organized around mount points, which have to be defined first. OK, so I first define my mountpoint /boot, set it to 200 MB (which is enough), define it to be RAID level 1 across four disks with an ext2 filesystem. So far so good. Next step is similar, swap mountpoint is 2 GB, also RAID level 1 across four disks. Finally, the / (root partition) mountpoint is supposed to take up the full amount of remaining disk space. In my virtual guest, I defined 4 X 40 GB to fiddle with. The installer shows me something like 38.6 GB, which looks like the remaining space on each disk's partition. Now I define RAID level 5 across four disks... ... and here it comes. Once RAID level 5 is defined, I have to REDEFINE the maximum disk space by putting in a random large number, for example 4 X 40 GB = 160 GB. Because what is meant here is THE TOTAL RESULTING AMOUNT OF DISK SPACE IN THE RAID 5 ARRAY, AND NOT THE MAXIMUM SIZE OF A DISK PARTITION. So once I fill that field with 160 GB, the installer automagically sets it to 106.8 GB, which is in effect the maximum available disk space using RAID 5. Usability anyone? installer is organized around mount points is correct, and what gets mounted on mount points? Volumes, not partitions. So it's consistent with the UI that the size is a volume size, not a partition size. The problem here, is that users are used to being involved in details like making specific partitions in a specific order with specific sizes. The new UI de-emphasizes the need to be involved in that level of detail. It ends up making things more consistent regardless of which device type you use: LVM, LVM thinp, standard, or Btrfs. If you emphasize partitions, then you have to emphasize the user needing to know esoteric things. What is NOT obvious: for single device installs, if you omit the size in the create mount point dialog, the size of the resulting volume will consume all remaining space. But since there's no way to preset raid5 at the time a mount point is created (raid5 is set after the fact), there isn't a clear way to say use all remaining space for this. There's just a size field for the volume, and a space available value in the lower left hand corner. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 18/02/2015 23:12, Chris Murphy a écrit : installer is organized around mount points is correct, and what gets mounted on mount points? Volumes, not partitions. Says who? -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 19/02/2015 05:43, Chris Murphy a écrit : My personal view on installers is extremely biased toward the user staying out of trouble, they shouldn't have to read documentation for a GUI installer. A *user* never has to even see - or use - an installer. A USER has to USE a computer, by which I mean the applications he or she needs to get some work done. The person who gets to be confronted by an OS installer is not a user, it's an ADMIN, which is an entirely different thing. An ADMIN should RTFM (a lot) and know his way about what you call esoteric things earlier in this thread (disks, partitions, volumes). My company (http://www.microlinux.fr) installs complete Linux-based networks for schools, town halls, public libraries etc. here in South France. For now, most of my server and desktop solutions are based on a highly modified version of Slackware Linux, with some CentOS and some RHEL here and there. I'm currently planning on migrating everything to CentOS in the long run. One of the founding principles of my company is the constant SEPARATION BETWEEN USING A COMPUTER AND ADMINISTRATING IT. A user never ever has to worry about things that pertain to system administration, and it would be very wrong if he or she ever has to deal with such a thing as an installer. For what it's worth, some of my users don't even know that this thing that they're using every day is called Linux under the hood. To them, it's just the machine that's running things like their library management software, or whatever. So, as an admin, what I want from an installer is FLEXIBILITY... and not an assistant that reminds me of Microsoft Office's infamous Clippy and expects me to jump through burning loops to configure the system as I want it. Cheers, Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On 2/18/2015 11:06 PM, John R Pierce wrote: but, is that lvm integrated raid stuff available in RHEL/CentOS 6 or 7 yet ? /me scribbles postit note to self: google BEFORE hitting send https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Logical_Volume_Manager_Administration/raid_volumes.html ahhh, interesting. its in 6.3+ -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS Participation in GSOC-2015
Hi Johnny, This is to enquire as to whether CentOS will be participating in GSOC this year? The Mentoring Organization applications are now being accepted for Google Summer of Code 2015. http://google-opensource.blogspot.in/2015/02/mentoring-organization-applications-now.html Regards, Saket Sinha ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On Wed, Feb 18, 2015 at 3:59 PM, Niki Kovacs i...@microlinux.fr wrote: Well, maybe it's just me. I've started Linux on Slackware 7.1 and used pretty much every major and minor distribution under the sun. I know my way around Slackware, Debian, CentOS, FreeBSD, Gentoo, Arch and many more, and my favourite installer is - and will always be - Slackware's bone-headed NCurses installer that lets the admin do pretty much what he wants - and needs - to do. I'm definitely not suggesting it's just you. I'm coming up with a plausible explanation for the confusion, and that's a misalignment between your expectations and the installer's presentation. I can tell you, having using this installer since Fedora 18, it has changed immensely from the initial versions. My personal view on installers is extremely biased toward the user staying out of trouble, they shouldn't have to read documentation for a GUI installer. The entire point of a GUI installer is to protect the user from bad choices, non-standard or unsupportable choices, or having to read a volume of documentation, or become an expert for something that quite frankly happens rarely: OS installation. And my very strong bias is affected by both the OS X and Windows installers, which are completely, utterly, brain dead. And I mean that in a good way. It's impossible for the user to get confused, there are almost no choices. It's next to impossible for there to be bugs, there are almost no choices. Every outcome of the installation is supportable, because the user wasn't allowed to create completely nutty layouts that make no sense. Now, for various reasons Anaconda (the Fedora/RHEL/CentOS installer) is exceptionally more capable than almost any other GUI installer out there. And that makes it complex, prone to bugs, and prone to confusing users and subject to criticism. That's just the inevitable result of trying to do so many things. I love CentOS, been using it since 4.x. But frankly, CentOS 7's installer is an abomination. Having done many hundreds, possibly over a thousand installations with it, I'm well aware of how confusing it can be. So the criticism is almost certainly reasonable, no matter what. I'm just saying that once you understand the point of view of the installer (which arguably you should not have to do), things become much easier. That doesn't mean easy. Just easier. All's well that ends well. It only took me a day and a half to figure out how to configure RAID 5 using the graphical assistant. Something I could have done in less than three minutes using fdisk and mdadm --create. Right, but inevitably that failure is the result of misalignment of expectations between you and the installer. That's an explanation, not an assignment of blame. The reason why working directly with partitions is easy for you, and what you expect, is simply because that's how you've always done it, since that's how all other installers behave. Anaconda is really the first installer that deemphasizes that. And I think that's a bold move, and for a GUI installer that's necessarily taking on a lot of complexity I think it's probably a good idea overall. But it does have a lot of bugs still... it's definitely doing things that I don't like. But any experienced sysadmin knows how users say it should work like X and how often they're wrong. They're just used to things that work like X and that's why they want this new problem to work that same way. So as a sysadmin or network engineer you ask questions to find out how to get the user from A to B, and the details of how it should work are your domain, your specialty, and ultimately they don't really care how it happens, they just want to get to B. And once that's well understood, you can get on with things. And one problem is the installer can't really have that kind of diplomatic conversation about what its worldview is, so that the user expectations re-align with the end goal in mind, not how to get there. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On Wed, Feb 18, 2015 at 3:37 PM, Niki Kovacs i...@microlinux.fr wrote: Le 18/02/2015 23:12, Chris Murphy a écrit : installer is organized around mount points is correct, and what gets mounted on mount points? Volumes, not partitions. Says who? Because it's ambiguous. A partition might entirely contain a volume (a filesystem), but in your case none of your partitions contain a volume. They're members of md raid first, only once that's assembled is there a logical block device, which happens to contain the volume, and it is the volume you're mounting. All you have to do is check fstab, partitions aren't assigned mount points, volumes are. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rhythmbox Replacement
Mark LaPierre marklapier@... writes: On 02/15/15 22:48, Mark LaPierre wrote: Hey Y'all, I though I would resurrect a long dead mail chain. I'm looking for a good replacement for Rhythmbox. I need a pod catcher to catch podcasts and download them to my HD where I can then move them onto my mp3 player that I take to work every day. * cricket-cricket * * cricket-cricket * OK - so I use podget. It's a bash script and it does exactly what I want. There's no package as such, but google knows where it lives (on sourceforge). Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On Wed, Feb 18, 2015 at 4:20 PM, m.r...@5-cent.us wrote: Niki Kovacs wrote: Le 18/02/2015 23:12, close, but then, for mysterious reasons, Red Hat decided to cripple it into oblivion. Go figure. One word: desktop. That's what they want to conquer next. OK well there's a really long road to get to that pie in the sky. I don't see it happening because it seems there's no mandate to basically tell people what they can't have, instead it's well, we'll have a little of everything. Desktop OS that are the conquerers now? Their installers don't offer 100's of layout choices. They offer 1-2, and they always work rock solid, no crashing, no user confusion, essentially zero bugs. The code is brain dead simple, and that results in stability. *shrug* Long road. Long long long. Tunnel. No light. The usability aspects are simply not taken seriously by the OS's as a whole. It's only taken seriously by DE's and they get loads of crap for every change they want to make. Until there's a willingness to look at 16 packages as a whole rather than 1 package at a time, desktop linux has no chance. The very basic aspects of how to partition, assemble, and boot and linux distro aren't even agreed upon. Fedora n+1 has problems installing after Fedora n. And it's practically a sport for each distro to step on an existing distros installer. This is technologically solved, just no one seems to care to actually implement something more polite. OS X? It partitions itself, formats a volume, sets the type code, writes some code into NVRAM, in order to make the reboot automatically boot the Windows installer from a USB stick. It goes out of it's way to invite the foreign OS. We can't even do that with the same distro, different version. It should be embarrassing but no one really cares enough to change it. It's thankless work in the realm of polish. But a huge amount of success for a desktop OS comes from polish. We also pretty much don't use any drives under 1TB. The upshot is we had custom scripts for 500GB, which made 4 partitions - /boot (1G, to fit with the preupgrade), swap (2G), / (497G - and we're considering downsizing that to 250G, or maybe 150G) and the rest in another partition for users' data and programs. The installer absolutely does *not* want to do what we want. We want swap - 2G - as the *second* partition. But if we use the installer, as soon as we create the third partition, of 497GB, for /, it immediately reorders them, so that / is second. I'm open to having my mind changed on this, but I'm not actually understanding why it needs to be in the 2nd slot, other than you want it there, which actually isn't a good enough reason. If there's a good reason for it to be in X slot always, for everyone, including anticipating future use, then that's a feature request and it ought to get fixed. But if it's a specific use case, well yeah you get to pre-partition and then install. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On 2/18/2015 8:20 PM, Chris Murphy wrote: On Wed, Feb 18, 2015 at 3:37 PM, Niki Kovacsi...@microlinux.fr wrote: Le 18/02/2015 23:12, Chris Murphy a écrit : installer is organized around mount points is correct, and what gets mounted on mount points? Volumes, not partitions. Says who? Because it's ambiguous. A partition might entirely contain a volume (a filesystem), but in your case none of your partitions contain a volume. They're members of md raid first, only once that's assembled is there a logical block device, which happens to contain the volume, and it is the volume you're mounting. All you have to do is check fstab, partitions aren't assigned mount points, volumes are. and I make my mdraid's PV's for lvm, and create LV's that are my file systems which I mount. so thats one MORE level of indirection. disks - partition(s) - mdraid devices - PVs - VG - LV - file system. phew. -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On Wed, Feb 18, 2015 at 9:25 PM, John R Pierce pie...@hogranch.com wrote: disks - partition(s) - mdraid devices - PVs - VG - LV - file system. phew. You might be a candidate for LVM integrated raid. It uses the md kernel code on the backend, but it's all LVM tools to create, manage and monitor. The raid level is defined per LV, instead of all LV's in a VG inheriting the underlying raid. It supports all levels of raid including 5/6. It doesn't quite have all the features of mdadm. But the flexibility it offers for use cases where LV's are often being created and destroyed and different redundancy levels/types are desired, it's neat. And eventually, one of these years, Btrfs. That is so much simpler to create and manage. diskno partitionBtrfsraidsubvolumes instead of partitions It doesn't have all the features of mdadm or lvm, especially when it comes to VM images. But for general purpose data, it's nice. It'll use different sized drives in a raid56, no fuss, no having to tell it how to do that. Online addition of yet another (unlike sized) drive and it just starts using it with a single 'btrfs device add' command. No restripe/resilver needed. -- Chris Murphy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
On 2/18/2015 9:39 PM, Chris Murphy wrote: You might be a candidate for LVM integrated raid. It uses the md kernel code on the backend, but it's all LVM tools to create, manage and monitor. The raid level is defined per LV, instead of all LV's in a VG inheriting the underlying raid. It supports all levels of raid including 5/6. ... ... ... ... ... btrfs ... actually, I prefer zfs. I was just saying how I do it on CentOS, where zfs is not really an option. # zpool create zbig mirror hd10 hd11 mirror hd12 hd13 mirror hd14 hd15 mirror hd16 hd17 mirror hd18 hd19 spare hd20 hd21 # zfs create -o mountpoint=/mystuff zbig/mystuff done. but, is that lvm integrated raid stuff available in RHEL/CentOS 6 or 7 yet ? -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to write RPM spec
On Wed, Feb 18, 2015 at 09:08:52AM -0500, James B. Byrne wrote: If you have set up an RPM build server then you should have installed the rpmbuild and rpmdevtools packages. If you have installed the latter then you can use vi (vim/gvim) to automatically create an empty spec template file simply by opening any new file name ending in '.spec'. It will look like this: Rather than relying on vim to do this, you can also use 'rpmdev-newspec' to create a new spec file, which has options to automatically set up packages for Perl, Python, PHP (etc.) modules, system libraries or a really minimal simple package. Read the man page for 'rpmdev-newspec'. -- Jonathan Billings billi...@negate.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] debuginfo versioning tools?
On Tue, February 17, 2015 15:20, Les Mikesell wrote: Are there any tools to help assemble libraries and debuginfo to examine core dumps that happened on another host where the versions don't match? Something like mock but build-version specific and with the debuginfo packages pulled in? I am not sure that I understand your question so if this answer is totally irrelevant then please forgive me. But, in case this might help, you can configure mock to use locally provided repos and different architectures via the --configdir parameter. You provide an architecture specific config file like epel-6-x86_64.cfg in the specified directory and alter it to require packages to suit a specific build requirement. One of mine looks like this: config_opts['root'] = 'epel-6-x86_64' config_opts['target_arch'] = 'x86_64' config_opts['legal_host_arches'] = ('x86_64',) config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build' config_opts['dist'] = 'el6' # only useful for --resultdir variable subst config_opts['yum.conf'] = [main] cachedir=/var/cache/yum debuglevel=1 reposdir=/dev/null logfile=/var/log/yum.log retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 syslog_ident=mock syslog_device= # repos [base] name=BaseOS enabled=1 mirrorlist=http://mirrorlist.centos.org/?release=6arch=x86_64repo=os failovermethod=priority exclude=http* [updates] name=updates enabled=1 mirrorlist=http://mirrorlist.centos.org/?release=6arch=x86_64repo=updates failovermethod=priority exclude=http* [epel] name=epel mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6arch=x86_64 failovermethod=priority exclude=http* [testing] name=epel-testing enabled=0 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6arch=x86_64 failovermethod=priority [local] name=local baseurl=file:///home/byrnejb/mock/repos/x86_64/ cost=0 enabled=1 [koji] name=koji baseurl=http://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ cost=2000 enabled=0 [epel-debug] name=epel-debug mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6arch=x86_64 failovermethod=priority enabled=0 and one calls it like this: mock --rebuild --root=epel-6-x86_64 --configdir=/home/byrnejb/mock /home/byrnejb/rpmbuild/SRPMS/httpd-2.4.9-1.el6.src.rpm -- *** E-Mail is NOT a SECURE channel *** 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] Master - Slave Split DNS
On 18/02/2015 07:17, aditya hilman wrote: Hi folks, I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? Thanks. Hi Adit, If you are not already using TSIG's in your views I suggest you look at this guide http://blog.hudecof.net/posts/2014/02/07/bind9-with-views-and-tsig-axfr.html It shows how to use TSIG's to identify the views so you can slave both of them to the secondary. also you want to add to the options section on the master also-notify { slaves-IP; }; This make it tell the slave to update its zone. Tris * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to write RPM spec
On Wed, 18 Feb 2015 05:36:48 +1300 Jegadeesh Kumar wrote: I setup the RPM build server and read some doc to write the spec files. but i did get it clearly. So can you guys please help me to write a new RPM spec. If you have set up an RPM build server then you should have installed the rpmbuild and rpmdevtools packages. If you have installed the latter then you can use vi (vim/gvim) to automatically create an empty spec template file simply by opening any new file name ending in '.spec'. It will look like this: Name: Version: Release:1%{?dist} Summary: Group: License: URL: Source0: BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XX) BuildRequires: Requires: %description %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc %changelog * Fri Apr 05 2013 James B. Byrne byrn...@harte-lyne.ca - Rebuild for CentOS-6.4 - This description is an example and is not automatically - generated for you. Note that the formats for the date and identity in changelog entries are very specific and include the leading '*'. You cannot use any other format (to my knowledge) than that given above as an example. Each descriptive line thereafter must be prefaced by'- '. See: https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html -- *** E-Mail is NOT a SECURE channel *** 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] debuginfo versioning tools?
On Wed, Feb 18, 2015 at 8:29 AM, James B. Byrne byrn...@harte-lyne.ca wrote: On Tue, February 17, 2015 15:20, Les Mikesell wrote: Are there any tools to help assemble libraries and debuginfo to examine core dumps that happened on another host where the versions don't match? Something like mock but build-version specific and with the debuginfo packages pulled in? I am not sure that I understand your question so if this answer is totally irrelevant then please forgive me. I don't think I could actually use mock for this. It might come close if I rebuilt all of the libraries and debuginfo packages at the versions that existed on the host that produced the core dump and ran gdb in the chroot environment. But, I don't believe such a rebuild would be an exact binary match for the builds in the CentOS build environment and getting all the src rpms at the right versions would be just as hard as assembling all of the binary rpms and debuginfo from the vault versions. I was just hoping that there was some similar high-level framework to do the tedious work of assembling everything you need in the right places. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] debuginfo versioning tools?
On 02/17/2015 02:20 PM, Les Mikesell wrote: Are there any tools to help assemble libraries and debuginfo to examine core dumps that happened on another host where the versions don't match? Something like mock but build-version specific and with the debuginfo packages pulled in? I'm not sure of a one-step 'chroot-friendly' way to do this. You could probably script this up by abusing debuginfo-install's --installroot option after some minor chroot prep-work. -- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Master - Slave Split DNS
On Feb 18, 2015 7:43 PM, Tris Hoar trish...@bgfl.org wrote: On 18/02/2015 07:17, aditya hilman wrote: Hi folks, I've already configured split DNS for internal-view and external-view. Also already configured the master - slave dns. But i've problem with external-view zone transfer. Based on the logs, the master notify to slave using the public ip, which is not accessible by master to transfering the zone over public ip. Is it possible to transfer zone over local ip for external-view ? Thanks. Hi Adit, If you are not already using TSIG's in your views I suggest you look at this guide http://blog.hudecof.net/posts/2014/02/07/bind9-with-views-and-tsig-axfr.html It shows how to use TSIG's to identify the views so you can slave both of them to the secondary. also you want to add to the options section on the master also-notify { slaves-IP; }; This make it tell the slave to update its zone. Tris * This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmas...@bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks all for the suggestions. I'll check it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Le 18/02/2015 23:12, Chris Murphy a écrit : What is NOT obvious: for single device installs, if you omit the size in the create mount point dialog, the size of the resulting volume will consume all remaining space. But since there's no way to preset raid5 at the time a mount point is created (raid5 is set after the fact), there isn't a clear way to say use all remaining space for this. There's just a size field for the volume, and a space available value in the lower left hand corner. Well, maybe it's just me. I've started Linux on Slackware 7.1 and used pretty much every major and minor distribution under the sun. I know my way around Slackware, Debian, CentOS, FreeBSD, Gentoo, Arch and many more, and my favourite installer is - and will always be - Slackware's bone-headed NCurses installer that lets the admin do pretty much what he wants - and needs - to do. CentOS 5.x's text mode installer got pretty close, but then, for mysterious reasons, Red Hat decided to cripple it into oblivion. Go figure. I love CentOS, been using it since 4.x. But frankly, CentOS 7's installer is an abomination. All's well that ends well. It only took me a day and a half to figure out how to configure RAID 5 using the graphical assistant. Something I could have done in less than three minutes using fdisk and mdadm --create. Cheers, Niki -- Microlinux - Solutions informatiques 100% Linux et logiciels libres 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Skip creating anaconda-ks.cfg in EL7?
Hello, In EL6 I could well remove /root/anaconda-ks.cfg in %post, but not any more it seems and I like my installs clean. Anyone has any idea how to skip creating this file or deleting during install? I don't want to resort to running scripts upon first boot. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7: software RAID 5 array with 4 disks and no spares?
Niki Kovacs wrote: Le 18/02/2015 23:12, Chris Murphy a écrit : What is NOT obvious: for single device installs, if you omit the size in the create mount point dialog, the size of the resulting volume will consume all remaining space. But since there's no way to preset raid5 at the time a mount point is created (raid5 is set after the fact), there isn't a clear way to say use all remaining space for this. There's just a size field for the volume, and a space available value in the lower left hand corner. snip close, but then, for mysterious reasons, Red Hat decided to cripple it into oblivion. Go figure. One word: desktop. That's what they want to conquer next. I love CentOS, been using it since 4.x. But frankly, CentOS 7's installer is an abomination. All's well that ends well. It only took me a day and a half to figure out how to configure RAID 5 using the graphical assistant. Something I could have done in less than three minutes using fdisk and mdadm --create. We don't want to use lvm - my manager doesn't like it, and given how much we hit our machines, we almost don't use vm's, either - we need all CPU cycles for some things (like heavy scientific computing). We also pretty much don't use any drives under 1TB. The upshot is we had custom scripts for 500GB, which made 4 partitions - /boot (1G, to fit with the preupgrade), swap (2G), / (497G - and we're considering downsizing that to 250G, or maybe 150G) and the rest in another partition for users' data and programs. The installer absolutely does *not* want to do what we want. We want swap - 2G - as the *second* partition. But if we use the installer, as soon as we create the third partition, of 497GB, for /, it immediately reorders them, so that / is second. Duh The result is that we get to the screen to choose the drive, and say custom partition... then alt-F2, and use parted to make the partitions, then go back to the GUI and just assign the mount points and filesystem types. And why would you *want* / to have everything? I want to be able to install a newer o/s, or whatever, and not have to worry about all the data, etc - I want that in a separate partition (no, don't format that, thank you). mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sw raid issue with C5.10-xen
My raid array won't boot, gives a kernel panic - attempt to kill init message and goes into endless reboots. MB is a supermicro 2P with opteron 2376 4-core cpus, centos sw raid, installed C5.3, updated as possible, currently c5.10. 5 seagate 750GB drives as raid-10 and hot spare. we set this up about 5 years ago and IIRC we set aside the first 10GB on drive 0 as a boot partition. Grub runs and the system tries to boot 2.6.18-308.20.1.el5xen, sees a dirty raid array and md: md0: raid array is not clean - starting background reconstruction which looks hopeful but then md10: not enough operational mirrors for raid 10 and then the panic and reboot. ideas? stuff to read? diagnostics? TIA, Dave -- As long as politics is the shadow cast on society by big business, the attenuation of the shadow will not change the substance. -- John Dewey ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rhythmbox Replacement
On 02/15/15 22:48, Mark LaPierre wrote: Hey Y'all, I though I would resurrect a long dead mail chain. I'm looking for a good replacement for Rhythmbox. I need a pod catcher to catch podcasts and download them to my HD where I can then move them onto my mp3 player that I take to work every day. I don't need a new mp3 player so don't suggest VLC. It is not able to download podcasts. I'm in the process of provisioning my new CentOS 6.6 x86_64 machine. I have gpodder 2.19 installed on my CentOS 6.6 32 bit machine but have managed only to fail miserably at getting gpodder installed on my 64 bit machine. I see that I started this mail chain back in 2012. There was no solution then. Does the horizon look any different now? I gather from the sound of crickets chirping that there is still no viable solution for a CentOS 6 compatible pod cast collector that is even close to being up to speed. I've got gpodded 2.19 on my 32 bit machine. I eventually got gpodder 2.15 installed on my 64 bit machine after several hours of arm twisting. Both are hopelessly out of date, but they work for my purposes. Does anyone know if CentOS 7 has an alternative to Rhythmbox in the repos? Does the version of Rhythmbox that comes with CentOS 7 allow one to easily add and/or remove feeds without having to manually edit an obscure configuration file? The one that's packaged with CentOS 6 does not. -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos