Displaying 20 results from an estimated 10000 matches similar to: "quickly setting /etc/rc levels"
2010 May 17
2
copy dirs. subdirs, symlink, but not files
Hi all,
I've been messing around with needing to duplicate a dir tree minus
its file contents.
What i would like to achieve is to rsync dirs, subdirs and sym links
of dirs excluding files.
My first experiment was to simply do dirs and subdirs;
rsync -a -f"+ */" -f"- *" source destination
Worked like a champ.
However I'm unsure how to include or exclude sym
2010 May 17
1
rsync - dirs and symlinks only, not contents
Hi all,
I have a need to copy only dirs, subdirs and sym links only without
the need to copy contents.
I originally used the following test to observe behavior;
rsync -a -f"+ */" -f"- *" source destination
So I noticed that dirs/subdirs were copied but without contents as
desired.
I have several sym links (dir sym links) that I would also to to copy
over.
I tried
2010 Dec 04
3
# chkconfig: kill at run level 3
In the control script of my daemon in /etc/init.d?, I have
# chkconfig: 35 97 3
The result of this is that I have links:
/etc/rc.d/rc1.d/K03...
/etc/rc.d/rc3.d/S97...
/etc/rc.d/rc5.d/S97...
As mentioned in a previous thread, my complex daemon throws
an exception when I shutdown. Perhaps things might be better
if I had:
/etc/rc.d/rc3.d/K03...
Might this be a good idea? If so,
2013 Feb 25
4
mixing MX and CNAME
Hi,
Has any one had problems with mail clients were your DNS is like this;
doman.com MX 50 mail.domain.com
domain.com MX 100 mail2.domain.com
domain.com CNAME www.domain.com
-aurf
2010 Jan 21
2
trouble shooting slow ssh logins
Hi all,
I noticed that my ssh logins to a particular server were taking up to
5 seconds to finally login.
My tcpdump -vv weren't producing much output (not good) and my pings
to and from that host were normal and almost identical to other hosts
on my subnet that had no ssh login delay issues.
Log files also showed nothing alarming.
My hosts file was missing this at the very end of
2013 Apr 27
2
Directory Server vs just plain old LDAP server
Hi all,
I'm migrating from my Cent 5.x LDAP server to Cent 6.x.
But wondering if there are any advantages to the Directory Server package itself?
Been using regular old LDAP server for years now. I manage it both via Webmin and command line as well as some tweaks to a Drupal module.
The fail over has always sort of bothered me as the secondary LDAP servers pull vs being pushed to, at
2013 Jun 07
2
qemu-img resize
Hi,
I've been using qemu-img resize for a few days now, seems fine.
But if I du the VMs image file, it still shows the size before resizing.
Inside that VM, the new size shows correctly.
Is qemu-img resize the right tool for this?
Once I qemu-img resize, I then use various fdisk/ LVM tools, etc... to resize within the VM just incase you all were wondering.
- aurf
2012 Sep 05
2
802.3ad + Centos 6 + KVM (bridging)
Hi all,
Don't mean to double post as I sent this to the general Centos list.
But, does any one have 802.3ad (mode 4) working on there Centos6 KVM setup?
This would be a bridge+bond setup of course.
If not possible, would I still bond the interfaces on the switch and then bond them in the guest rather then from within the hypervisor?
- aurf
2013 May 24
2
Very odd mouse issue
Hi,
I'm VNCing into my KVM server and opening virt-manager.
When trying to manage a newly created guest, I'm finding the mouse pointer stays on the outside of its virtual machine window.
Any insight as to why its tracking so oddly?
Thanks in advance,
- aurf
2013 Nov 21
2
proper bridging technoque
Hi,
Wondering if this is the proper bridging technique to use for Centos6+KVM;
http://wiki.centos.org/HowTos/KVM
Before I embark on this again, I would like to do it by the book.
Thanks in advance,
- aurf
2010 Aug 22
3
rexec error - where are you
Hi all,
I've a particular host on my network that when I run;
rexec -l username -p password remotehost command
it just hangs.
When I do;
rexec -a -l username -p password remotehost command
i get; Where are you?
If I do;
rexec -l username -p password localhostname (not just localhost but
its actual name) command
it works.
Any ideas would be very appreciated.
- aurf
2011 Jan 11
4
ext4 or XFS
Hi all,
I've a 30TB hardware based RAID array.
Wondering what you all thought of using ext4 over XFS.
I've been a big XFS fan for years as I'm an Irix transplant but would
like your opinions.
This 30TB drive will be an NFS exported asset for my users housing
home dirs and other frequently accessed files.
- aurf
2012 Oct 23
3
Export/Import wild card SSL
Hi all,
This topic is one that I am ignorant on and appreciate any guidance.
My scenario;
I have a wild card SSL installed on one of my CentOS boxes.
As I understand it, this server was used as a sort of master when originally generating and receiving the wild card SSL cert (got the cert from GoDaddy BTW).
So, now I must export some file(s) from that server so that I can import it/them to
2012 Apr 19
2
were to find 2.6.18-53 aka 5.1 kernel
Hi all,
I am migrating my Xen guests over to KVM.
Does any one know were I can find said 5.1 kernel for download?
- aurf
2011 Jan 18
3
disk quotas + centos 5,5 +xfs
Hi all,
is any one aware quotas not working in 5,5?
I'm using XFS as a file system.
My fstab has the appropriate usrquota,grpquota but when I try to run;
quotacheck -cug /foo
I get;
quotacheck: Can't find filesystem to check or filesystem not mounted
with quota option.
I already have a large amount of data in the mount. Do quotas get
implemented on only empty filesystems and
2010 Apr 03
1
partition woes (mapper/isw_bdihgcgahe_Volume0p2)
Hi,
I found 2 identical drives lying around and put them into a system.
When booting from a Centos 5.x installer, and when being presented
with the formatting option (disk druid), it says I have 1 volume of;
mamapper/isw_bdihgcgahe_Volume0p2
I can't seem to get rid of it. I have 2 physical disks but disk druid
is seeing 1 volume thats the same size as one of the 2 identical drives.
2012 Apr 11
2
centos 6.2 md0 boot - no boot actually
Hi all,
Taken from this link;
https://www.centos.org/modules/newbb/print.php?form=1&topic_id=34988&forum=55&order=ASC&start=0
Seems like I am having the same issue.
I assigned my boot loader to be on /dev/md0 rather then the default of /dev/sda1
Does any one have insight to this?
Thanks in advance.
BTW, I have no swap partition and will do a swap file instead, easier to
2012 May 02
1
File size diff between NFS mount and local disk
Hi all,
I never really paid attention to this but a file on an NFS mount is showing 64M in size, but when copying the file to a local drive, it shows 2.5MB in size.
My NFS server is hardware Raided with a volume stripe size of 128K were the volume size is 20TB.
My NFS clients are the same distro as the server being Centos.
Is this due to my stripe size?
Nuggets are appreciated.
- aurf
2012 May 13
4
True bond howto for Centos 6
Hi all,
Read many posts on the subject.
Using 802.3ad.
Few problems;
Cannot ping some hosts on the network, they are all up.
Cannot resolve via DNS which is one of the hosts that I cannot ping, internal nor external DNS hosts.
Unplugging the NICS and plugging them back in will then not allow pining if the default d=gateway.
When cold booting it somewhat works, some hosts are pingable while
2013 Jun 14
1
Max XFS journal size in Centos 6 = 2GB?
Hi all,
I read that XFS now has a max journal size of 2Gb rather than 128M.
Is this correct?
Thanks in advance,
- aurf