Hi,
This is slightly offtopic, but I have been trying to resolve that problem for two days now without much success. It looks like this may be something that works with CENTOS5, but not with CENTOS6!
I have two machines, fileserver1 and server5.
fileserver1 runs on CENTOS6 (virtualized, if this is important), server5 runs on Centos5. Both are running with the most recent updates.
Server5 is a machine to store backups on. Several servers, including fileserver1, are mounted with nfs4 on …
[View More]server5.
fileserver1 has this /etc/fstab:
---8<---/etc/fstab---
UUID=73254e19-895f-4190-b2e3-13a2b0bec9ce / ext4 defaults 1 1
UUID=ac658802-73e4-4c87-bb03-6f9af1ebc4f8 /mnt/data ext4 defaults 1 2
UUID=4836335a-2d66-4d12-9dec-7197dc772d77 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/mnt /mnt dazukofs
/ /nfsexport/root none bind 0 0
/mnt/data /nfsexport/data none bind 0 0
---8<---
AS you can see, /mnt/data is a partition mounted below /.
I am binding both partitions to /nfsexport/... and export them in /etc/exports with
---8<---/etc/exports---
/ server*.pamas.local(ro,secure,no_root_squash,crossmnt,fsid=0)
/mnt/data server2.pamas.local(ro,secure,no_root_squash,nohide) server5.pamas.local(ro,secure,no_root_squash,nohide)
---8<---
If I execute
[root@server5 ~]# /etc/init.d/nfs reload
I get
exportfs: /mnt/data does not support NFS export
exportfs: /mnt/data does not support NFS export
on the console, but nothing in the log-files.
On server5, I entered
[root@server5 ~]# mount -t nfs4 192.168.1.202:/ /mnt/nfs/fileserver1/root
successfully and
[root@server5 ~]# mount -t nfs4 192.168.1.202:/mnt/data /mnt/nfs/fileserver1/data
returns:
mount: pinging: prog 100003 vers 4 prot tcp port 2049
and hangs.
ctrl-c returns me to the prompt, but /mnt/data is not mounted.
The active mount /mnt/nfs/fileserver/root is working nicely, but if I cd into /mnt/nfs/fileserver/root/mnt and enter ls there, the console hangs infinetly.
As I wrote, server5 also mounts other servers filesystems without problems. All working systems are CENTOS5, the one not working is CENTOS6.
Any idea?
best regards
---
Michael Schumacher
[View Less]
Hi,
may be someone has an idea what's broken on one of our RH EL 6.1 server.
I tried all suggestions from the centosforum
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20237 but
without success.
Thanks for any suggestion . best Regards . Götz
Loaded plugins: rhnplugin
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 274, in user_main
errcode = …
[View More]main(args)
File "/usr/share/yum-cli/yummain.py", line 129, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 432, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in
_getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in
_getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 882, in
<lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 668, in
_getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 260, in
populateSack
self.doSetup()
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 72, in doSetup
self.ayum.plugins.run('prereposetup')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/share/yum-plugins/rhnplugin.py", line 121, in prereposetup_hook
str(e))
File "/usr/share/rhn/up2date_client/up2dateErrors.py", line 177, in
__repr__
"The message was:\n") + self.errmsg
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6:
ordinal not in range(128)
--
Götz Reinicke
IT-Koordinator
Tel. +49 7141 969 420
Fax +49 7141 969 55 420
E-Mail goetz.reinicke(a)filmakademie.de
Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de
Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzender des Aufsichtsrats:
Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg
Geschäftsführer:
Prof. Thomas Schadt
[View Less]
Hello,
I have a server working on centos 5.7-64 minimal installation. I have
3 separate physical drives:
120 gb ssd, 2x 3tb disks for storage.
My linux installation is on ssd disk, and I want to make raid 1 for
these two 3tb disks and store data, like under /mnt/data.
Can you please tell me the path how this is possible?
Thanks for your help!
Best regards,
Here are some output of commands I ran for more data:
[root@CentOS-57-64-minimal tmp]# fdisk -l | grep '^Disk'
Disk /dev/sdb doesn't …
[View More]contain a valid partition table
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sda: 120.0 GB, 120034123776 bytes
Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
Disk /dev/sdc: 3000.5 GB, 3000592982016 bytes
[root@CentOS-57-64-minimal tmp]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 113695432 1427792 106537696 2% /
/dev/sda2 520136 23576 470348 5% /boot
[root@CentOS-57-64-minimal tmp]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
64 heads, 32 sectors/track, 114473 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 2 2048 2096128 82 Linux swap / Solaris
/dev/sda2 2049 2560 524288 83 Linux
/dev/sda3 2561 114473 114598912 83 Linux
Disk /dev/sdb: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 3000.5 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdc doesn't contain a valid partition table
[View Less]
I have some services on Centos5 boxes that use smb authentication
against the Windows domain as a low-maintenance way to handle most of
our office users for things that don't need home directories (web/file
shares, etc.). Running authconfig is all it takes to add it to PAM,
then adding mod_auth_pam to apache makes it work with that and local
users. This all works without any particular involvement with the
Windows group or administrative access there.
Is there a better way to do this on C6 …
[View More]that does not involve 'joining'
the windows domain?
And is there a way to make samba (C5 or 6) work with Windows7 other
than configuring every client to to send NTLM authentication when
requested?
--
Les Mikesell
lesmikesell(a)gmail.com
[View Less]
1.. Is it even possible? Every example I've seen has bridged eth* rather wlan*.
2.. If it helps here are my scripts:
$ more /etc/sysconfig/network-scripts/ifcfg-wlan0
ESSID="snip"
MODE=Managed
KEY_MGMT=WPA-PSK
TYPE=Wireless
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=wlan0
UUID=2b508481-ec01-4311-8903-af7aaeb9879d
ONBOOT=yes
BRIDGE=br0
$ more /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
ONBOOT=yes
DELAY=0
…
[View More]
I've never done vm bridging in kvm so if there's something obvious I'm missing I'm not seeing it.
Thx,
- Joe
[View Less]
Hello,
I've on my home PC CentOS 6 and Fedora 13 on different disks. When I log
on the gnome enviroment at Fedora knows exactly which programm was started
at which desktop (for example: thunderbird on desktop 1, firefox on
desktop 2, nautilus on desktop 3, ..). The same procedure on Centos takes
all programs on the first desktop, so I must arrange the programs on the
right desktop.
Question: why kows the gnome of Fedora al the postions and the gnome from
CentOS doesn't? Is there a way to …
[View More]automaticly arrange the programs ?
Gruß
Andreas Reschke
________________________________________________________________
Unix/Linux-Administration
Andreas.Reschke(a)behrgroup.com
[View Less]
I have an ethernet device in my lan with a primary address 192.168.5.205
and a secondary address .217. I added the secondary address after network
startup established the primary address by an ip addr add command:
# ip addr add 192.168.5.217/24 broadcast 192.168.5.255 dev eth0
# ip addr show
...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 78:2b:cb:23:21:4c brd ff:ff:ff:ff:ff:ff
inet 192.168.5.205/24 brd 192.168.5.255 scope global …
[View More]eth0
inet 192.168.5.217/24 brd 192.168.5.255 scope global secondary eth0
inet6 fe80::7a2b:cbff:fe23:214c/64 scope link
valid_lft forever preferred_lft forever
...
Then I add a new route via a network gateway but I want the route to use
the secondary address as a source.
# ip route add 11.11.11.11 via 192.168.5.148 src 192.168.5.217
And the ip route show command shows that it knows the source.
# ip route show
11.11.11.11 via 192.168.5.148 dev eth0 src 192.168.5.217
But where is the source address kept? If I look at /proc/net/route,
it shows the route (0B0B0B0B = 11.11.11.11), but not the source
address.
# cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
eth0 0B0B0B0B 9405A8C0 0007 0 0 0 FFFFFFFF 0 0 0
...
Where is the source address kept?
--
Dale Dellutri
[View Less]