Re: [CentOS-docs] HowTo: Grub Installation for CentOS 5 and 6

2012-03-06 Thread Yves Bellefeuille
On Sunday 04 March 2012, Ralph Angenendt ralph.angene...@gmail.com 
wrote:

 Moved and linked.

Moving Grub Installation for CentOS 5 and 6 to the How-Tos seems to 
have removed my editing rights. Can they be restored? Thanks.

Yves

-- 
Yves Bellefeuille y...@storm.ca
La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se
ili konscias pri sia eraro. -- Heroldo Komunikas, n-ro 473.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS] restrict postfix to only certain users getting incoming mail

2012-03-06 Thread John Doe
From: Bob Hoffman b...@bobhoffman.com

 Postfix, by default, accepts all incoming mail to any user listed in the 
 shadow/passwd and alias files.
 I cannot find a way to stop that without manually blocking each non 
 wanted user (like nobody, apache) without killing local delivery.

What about using /etc/postfix/access:
  root@yourdomain REJECT
Wouldn't that work?

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS5 lxc guest under CentOS6 host

2012-03-06 Thread C. L. Martinez
Hi all,

 Somebody have tried to run a centos5 lxc guest under centos6 host??
Is it possible??

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS5 lxc guest under CentOS6 host

2012-03-06 Thread Juergen Gotteswinter


Am 06.03.12 11:59, schrieb C. L. Martinez:
 Hi all,

   Somebody have tried to run a centos5 lxc guest under centos6 host??
 Is it possible??

 Thanks.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



yes, works fine.


cheers,

juergen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS5 lxc guest under CentOS6 host

2012-03-06 Thread C. L. Martinez


 Am 06.03.12 11:59, schrieb C. L. Martinez:
 Hi all,

   Somebody have tried to run a centos5 lxc guest under centos6 host??
 Is it possible??

 Thanks.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



 yes, works fine.


 cheers,

 juergen

Fantastic. Do I need to use something else apart of libvirt??
According to RedHat knowledge, only libvirt is necessary.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dovecot GUI

2012-03-06 Thread Timothy Murphy
Nataraj wrote:

 I would check the ownership and permissions of the mail directories and
 files.  You might also try a different mail client.

 All the dovecot mail directories and files are in ~/Maildir ,
 and are owned by me, with all directories having 700 permission,
 and all files having 664 permssion.

 Well that could be your problem.

Thanks again for responding.
But the permissions in lower folders, where I can create sub-folders,
are exactly the same as the permissions in the top folders, where I cannot.

 And yes I have created new folders with mkdir.

Are you using maildir format?
If so, do you also create cur, new and tmp sub-directories?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kickstart partitioning and cylinder boundary

2012-03-06 Thread Erez Zarum
As I understand anaconda uses parted to partition (starting from
centos 6), using this as example (kickstart configuration file):
clearpart --all --drives=sda --initlabel
part /boot --asprimary --size=200 --fstype=ext2 --ondisk=sda
part swap --asprimary --size=16384 --fstype=swap --ondisk=sda
part / --asprimary --size=512000 --fstype=ext4 --ondisk=sda
part /scratch --asprimary --size=1 --grow --fstype=ext4 --ondisk=sda

 I can see no problems in parted:
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Adaptec OS (scsi)
Disk /dev/sda: 1999GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End SizeType File system Flags
 1  1049kB  211MB   210MB   primary  ext2boot
 2  211MB   537GB   537GB   primary  ext4
 3  537GB   554GB   17.2GB  primary  linux-swap(v1)
 4  554GB   1999GB  1445GB  primary  ext4

Yet, fdisk –l report:

Disk /dev/sda: 1999.3 GB, 1999307276288 bytes
255 heads, 63 sectors/track, 243068 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006e122

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  26  204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2  26   65297   524288000   83  Linux
/dev/sda3   65297   6738616777216   82  Linux swap / Solaris
/dev/sda4   67386  243069  1411177472   83  Linux

As you can see, /dev/sda1 End at 26 and /dev/sda2 Start at 26.

But, fdisk –lu report otherwise:

Disk /dev/sda: 1999.3 GB, 1999307276288 bytes
255 heads, 63 sectors/track, 243068 cylinders, total 3904897024 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006e122

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *2048  411647  204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2  411648  1048987647   524288000   83  Linux
/dev/sda3  1048987648  108254207916777216   82  Linux swap / Solaris
/dev/sda4  1082542080  3904897023  1411177472   83  Linux

I assume I can ignore it and it’s a bug on fdisk?
This does not happen on 5.7.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] md raid 10

2012-03-06 Thread William Warren
why will Centos 6 not boot from an mdraid 10 partition?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.2 software raid 10 with LVM - Need help with degraded drive and only one MBR

2012-03-06 Thread Markus Falb
On 2.3.2012 22:18, Digimer wrote:
 On 03/02/2012 04:00 PM, Jonathan Vomacka wrote:
 On 3/2/2012 2:46 PM, Bowie Bailey wrote:
 On 3/2/2012 1:01 PM, m.r...@5-cent.us wrote:
 Digimer wrote:

 Bowie, in terms of RAID 10, each drive technically cant be standalone 
 right? The drives are striped and mirrored.
 
 10 (one-zero) == a mirror of two stripped arrays. You can lose up to two
 drives, so long as they are both from the same strip set.

10 is a stripe of two mirrors, but anyway, there is more to it because
mdraid 10 is another beast. Unfortunate naming!

http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10

So one has to ask everytime what is meant, a standard layered raid 10 or
a mdraid 10.

 As I understand it though, I thought that /boot could only exist on RAID
 1 vanilla.

I think this is correct. Because of this I also think that the OP has
bigger problems than the just the MBR. Where is his /boot gone?

-- 
Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] md raid 10

2012-03-06 Thread Les Mikesell
On Tue, Mar 6, 2012 at 9:29 AM, William Warren
hescomins...@emmanuelcomputerconsulting.com wrote:
 why will Centos 6 not boot from an mdraid 10 partition?

It has to load code before you have the kernel that understands raid
or how to detect it.  That's why they call it booting.

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dovecot GUI

2012-03-06 Thread Nataraj
On 03/06/2012 04:09 AM, Timothy Murphy wrote:
 Nataraj wrote:

 I would check the ownership and permissions of the mail directories and
 files.  You might also try a different mail client.
 All the dovecot mail directories and files are in ~/Maildir ,
 and are owned by me, with all directories having 700 permission,
 and all files having 664 permssion.
 Well that could be your problem.
 Thanks again for responding.
 But the permissions in lower folders, where I can create sub-folders,
 are exactly the same as the permissions in the top folders, where I cannot.

 And yes I have created new folders with mkdir.
 Are you using maildir format?
 If so, do you also create cur, new and tmp sub-directories?


Yes I use maildir format.  All I did was 'mkdir'  a folder called
'.test' in the top level of my mail directory and set the ownership and
group access so that my dovecot daemon can access it.  I then went to my
mail client (thunderbird) and copied a message from another folder into
.test and it created all of the cur new and tmp directories along with
index files.  It's no big deal.  In my experience dovecot is very
forgiving.  I've had messed up index files and deleted them and then it
recreates them.

Nataraj

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dovecot GUI

2012-03-06 Thread Les Mikesell
On Tue, Mar 6, 2012 at 6:09 AM, Timothy Murphy gayle...@eircom.net wrote:

 Thanks again for responding.
 But the permissions in lower folders, where I can create sub-folders,
 are exactly the same as the permissions in the top folders, where I cannot.

 And yes I have created new folders with mkdir.

Is SELinux active, and if so is the context set correctly?

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recent kernel update vs usb disk

2012-03-06 Thread wwp
Hello there,


since kernel update 2.6.32-220.4.1.el6, one of my USB external SATA
drives is not mounting. With kernel 2.6.32-131.21.1.el6, it auto-mounts
in GNOME desktop when I plug the disk.

When I plug the disk, this wakes it up and I see in /var/log/messages:

kernel: usb 2-4.2: USB disconnect, address 11
kernel: usb 2-2: new high speed USB device using ehci_hcd and address 13
kernel: usb 2-2: New USB device found, idVendor=1ca1, idProduct=18a9
kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
kernel: usb 2-2: Product: Usb Sata Bridge
kernel: usb 2-2: Manufacturer: SYMWAVE
kernel: usb 2-2: SerialNumber: 3559443452593133
kernel: usb 2-2: configuration #1 chosen from 1 choice
kernel: scsi11 : SCSI emulation for USB Mass Storage devices

but it's not getting mounted.

Any hint where I could grab more information?


Regards,

-- 
wwp


signature.asc
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cron job not running

2012-03-06 Thread Bowie Bailey
On 3/4/2012 10:25 PM, Tim Dunphy wrote:
 hello list,

  I am attempting to backup a centos 5.4 (x86_64) server running mysql
 with a cron job. Here's how the cron job looks:

  [root@cloud:/home/bluethundr/backupdb] #crontab -l
 * 3 * * * /usr/bin/mysqldump jfwiki 
 /home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql

You do realize this is going to run 60 times per day, right?  (every
minute from 3:00 - 3:59)

I think you wanted this:

0 3 * * * /usr/bin/mysqldump jfwiki 
/home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql

-- 
Bowie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 connection with sieveshell failed

2012-03-06 Thread Michael Nausch
Hello,

I've some difficulties with my installation, specially with sieveshell.

O.K., just have a look on my site:

intranet : 10.0.10.0/24
DMZ  : 10.0.0.0/24

My IMAP-server is based on DMZ-site on my host vml70 (10.0.0.70):
# netstat -penlut
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   User   Inode  PID/Program name
tcp0  0 0.0.0.0:143 0.0.0.0:*
LISTEN  0  137240 25617/cyrus-master
tcp0  0 0.0.0.0:20000.0.0.0:*
LISTEN  0  137252 25617/cyrus-master
tcp0  0 0.0.0.0:22  0.0.0.0:*
LISTEN  0  8777   1314/sshd
tcp0  0 0.0.0.0:24  0.0.0.0:*
LISTEN  0  137258 25617/cyrus-master
tcp0  0 127.0.0.1:250.0.0.0:*
LISTEN  0  8977   1392/master
tcp0  0 0.0.0.0:993 0.0.0.0:*
LISTEN  0  137246 25617/cyrus-master

I've no problem to connect with sieveshell on my IMAP-host:
[django@vml70 ~]$ sieveshell --user=django --authname=django
127.0.0.1:2000
connecting to 127.0.0.1:2000
Please enter your password:

BUT, if I try to connect from an other host inside my DMZ a see this error:

[django@vml90 ~]$  sieveshell --user=django --authname=django
10.0.0.70:2000
connecting to 10.0.0.70:2000
unable to connect to server at /usr/bin/sieveshell line 170.

O.K., so far so good :( Just look, I can connect with telnet to port
2000 on my IMAP-host:

[django@vml90 ~]$ telnet 10.0.0.70 2000
Trying 10.0.0.70...
Connected to 10.0.0.70.
Escape character is '^]'.
IMPLEMENTATION Cyrus timsieved v2.3.16-Fedora-RPM-2.3.16-6.el6_1.4
SASL CRAM-MD5 DIGEST-MD5
SIEVE comparator-i;ascii-numeric fileinto reject vacation imapflags
notify envelope relational regex subaddress copy
STARTTLS
OK

SELinux is deactivated and the personal firewall on my IMAP-Host accepts
connections to Port: 143, 993 and 2000:
[root@vml70 ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source   destination
ACCEPT all  --  0.0.0.0/00.0.0.0/0   state
RELATED,ESTABLISHED
ACCEPT icmp --  0.0.0.0/00.0.0.0/0
ACCEPT all  --  0.0.0.0/00.0.0.0/0
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:22
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:143
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:993
ACCEPT tcp  --  10.0.0.800.0.0.0/0   state NEW
tcp dpt:24
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:2000
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:80
ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   state NEW
tcp dpt:443
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with
icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source   destination
REJECT all  --  0.0.0.0/00.0.0.0/0   reject-with
icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

And here comes the strangest thing I can report:
If I try to connect from my intranet to my IMAP-Server on port 2000:
[django@pml010002 ~]$ sieveshell --user=django --authname=django
10.0.0.70:2000
connecting to 10.0.0.70:2000
Please enter your password:

IT WORKS! Im very very confused! :(

O.K. all hosts are based on CentOS:

DMZ-host:
[django@vml90 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@vml90 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4


IMAP-host
[django@vml70 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@vml70 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4
[root@vml70 ~]# yum list cyrus-imapd
Installed Packages
cyrus-imapd.x86_64   2.3.16-6.el6_1.4


Intranet-host
[django@pml010002 ~]$ cat /etc/redhat-release
CentOS release 6.2 (Final)
[root@pml010002 ~]# yum list cyrus-imapd-utils
Installed Packages
cyrus-imapd-utils.x86_64 2.3.16-6.el6_1.4


I'm very confused about that behavior. Why it is possible to connet to
Port 2000 from an intranet-host and why it fails inside my DMZ?

Any ideas ond/or hints?


ttyl
Django
-- 
Bonnie  Clyde der Postmaster-Szene! approved by Postfix-God
http://wetterstation-pliening.info
http://dokuwiki.nausch.org
http://wiki.piratenpartei.de/Benutzer:Django
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS Selinux issues

2012-03-06 Thread Bradley Leonard
I'm having a strange problem with selinux and the mounting of a nfs
directory.
I'm specifying the security context as part of the mount command, yet the
security context still shows nfs.

The mount shows what the security context should be:

[root@clienthost ~]# mount
serverhost:/usr/local on /usr/local type nfs4
(rw,context=system_u:object_r:usr_t:s0,hard,intr,addr=serverhost,clientaddr=clienthost)

yet the directory permissions show the security context of nfs:

[root@clienthost ~]# ls -dZ /usr/local
drwxr-xr-x. root root system_u:object_r:nfs_t:s0   /usr/local

My /etc/fstab entry is:

serverhost:/usr/local /usr/local  nfs   
context=system_u:object_r:usr_t:s0,rw,hard,intr 0 0

This is causing some issues with some of my scripts.

Both the client and server are 6.2 servers.  The client is a virtual image
running on the server.

The only clue that i have is system logger shows:

Mar  6 13:44:39 clienthost kernel: SELinux: initialized (dev 0:14, type
nfs4), uses genfs_contexts
Mar  6 13:44:39 clienthost kernel: SELinux: initialized (dev 0:15, type
nfs4), uses genfs_contexts

I can't find any errors anywhere else on either my client or server. 
There is nothing in the audit logs on either host.

Does anybody have any ideas?

Brad
--
Bradley Leonard
EMail:  bradley at stygianresearch.com

Rob   - The hills are alive with the..the..sound of monkeys?
Bucky - It's in the key of delicious.

Life is simple. Humans make it complicated.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread John R Pierce
On 03/02/12 10:05 AM, John R Pierce wrote:
 is anyone familiar with this inode64 stuff and NFS in EL6.2 ?

still having show stopping issues with XFS, inode64, and NFS.   the 
fsid=uuid option suggested by some googling doesn't seem to work at all 
for Solaris clients...
http://xfs.org/index.php/XFS_FAQ#Q:_Why_doesn.27t_NFS-exporting_subdirectories_of_inode64-mounted_filesystem_work.3F


On nfs server...

[root@server data]# mount
/dev/sda1 on /data type xfs (rw,inode64)

[root@server data]# blkid
/dev/sda1: UUID=d1bff6f7-9887-44bb-be57-d8628831cf40 TYPE=xfs

[root@server data]# cat /etc/exports
/data/oni64
*(rw,async,fsid=d1bff6f7-9887-44bb-be57-d8628831cf40,no_subtree_check)

[root@server data]# uname -a
Linux server 2.6.32-220.4.2.el6.x86_64 #1 SMP Tue Feb 14 04:00:16
GMT 2012 x86_64 x86_64 x86_64 GNU/Linux


With the option fsid=uuid we could not mount nfs on client.

root@client1 # mount -F nfs server:/data/oni64 /backups
nfs mount: tkddo-clf08:/data/oni64: No such file or directory

root@client1 # mount -F nfs -o vers=4 server:/data/oni64 /backups
nfs mount: tkddo-clf08:/data/oni64: No such file or directory

root@client1 # mount -F nfs -o vers=3 server:/data/oni64 /backups
nfs mount: mount: /backups: Stale NFS file handle

root@client1 # uname -a
SunOS client1 5.10 Generic_138889-08 i86pc i386 i86pc



(this last is the same error we got without the fsid=, when using inode64).

It *does* seem to work if the export uses fsid=# where # is an arbitrary 
integer, unique for each export, but thats something of a messy workaround.






-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cron job not running

2012-03-06 Thread Alexander Dalloz
Am 06.03.2012 18:56, schrieb Bowie Bailey:
 On 3/4/2012 10:25 PM, Tim Dunphy wrote:
 hello list,

  I am attempting to backup a centos 5.4 (x86_64) server running mysql
 with a cron job. Here's how the cron job looks:

  [root@cloud:/home/bluethundr/backupdb] #crontab -l
 * 3 * * * /usr/bin/mysqldump jfwiki 
 /home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql
 
 You do realize this is going to run 60 times per day, right?  (every
 minute from 3:00 - 3:59)
 
 I think you wanted this:
 
 0 3 * * * /usr/bin/mysqldump jfwiki 
 /home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql

Just for the records: that still won't work.

man 5 crontab

The  sixth  field  (the rest of the line) specifies the command to be
run.  The entire command portion of the line, up to a newline or %
character, will be executed by /bin/sh or by the shell specified in the
SHELL variable of the cronfile.  Percent-signs (%) in the command,
unless escaped with backslash (\), will be changed into newline
characters, and all data after the first % will be sent to the command as

Alexander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dovecot GUI

2012-03-06 Thread Timothy Murphy
Les Mikesell wrote:

 But the permissions in lower folders, where I can create sub-folders,
 are exactly the same as the permissions in the top folders, where I
 cannot.

 Is SELinux active, and if so is the context set correctly?

Thanks for the response.
No, SELinux is not running:
SELINUX=permissive

Incidentally, I haven't seen anyone running CentOS-6 state
that they are able to create a top-level folder with Fedora-16/KMail .
 
-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread Ross Walker
On Mar 6, 2012, at 4:36 PM, John R Pierce pie...@hogranch.com wrote:

 On 03/02/12 10:05 AM, John R Pierce wrote:
 is anyone familiar with this inode64 stuff and NFS in EL6.2 ?
 
 still having show stopping issues with XFS, inode64, and NFS.   the 
 fsid=uuid option suggested by some googling doesn't seem to work at all 
 for Solaris clients...
 http://xfs.org/index.php/XFS_FAQ#Q:_Why_doesn.27t_NFS-exporting_subdirectories_of_inode64-mounted_filesystem_work.3F
 
 
 On nfs server...
 
[root@server data]# mount
/dev/sda1 on /data type xfs (rw,inode64)
 
[root@server data]# blkid
/dev/sda1: UUID=d1bff6f7-9887-44bb-be57-d8628831cf40 TYPE=xfs
 
[root@server data]# cat /etc/exports
/data/oni64
*(rw,async,fsid=d1bff6f7-9887-44bb-be57-d8628831cf40,no_subtree_check)
 
[root@server data]# uname -a
Linux server 2.6.32-220.4.2.el6.x86_64 #1 SMP Tue Feb 14 04:00:16
GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
 
 
 With the option fsid=uuid we could not mount nfs on client.
 
root@client1 # mount -F nfs server:/data/oni64 /backups
nfs mount: tkddo-clf08:/data/oni64: No such file or directory
 
root@client1 # mount -F nfs -o vers=4 server:/data/oni64 /backups
nfs mount: tkddo-clf08:/data/oni64: No such file or directory
 
root@client1 # mount -F nfs -o vers=3 server:/data/oni64 /backups
nfs mount: mount: /backups: Stale NFS file handle
 
root@client1 # uname -a
SunOS client1 5.10 Generic_138889-08 i86pc i386 i86pc
 
 
 
 (this last is the same error we got without the fsid=, when using inode64).
 
 It *does* seem to work if the export uses fsid=# where # is an arbitrary 
 integer, unique for each export, but thats something of a messy workaround.

From what I read as well NFS and XFS inode64 do not play well at all. NFS 
still has a lot of 32-bit logic hard coded in it, both in the server and 
client.

Is there a need for inode64? Is it too late to back-out of it, or have you 
pickled the file system already.

If so then the only option is to set fsid manually.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread John R Pierce
On 03/06/12 3:51 PM, Ross Walker wrote:
 Is there a need for inode64? Is it too late to back-out of it, or have you 
 pickled the file system already.

as i undertsand it, you need inode64 on any XFS file system over 2TiB, 
and ours is 74TiB.





-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] Software RAID1 with CentOS-6.2

2012-03-06 Thread Kahlil Hodgson
On Wed, 2012-02-29 at 17:43 +1100, Kahlil Hodgson wrote:
 Sadly still getting the same errors.  Will have another go at this
 tomorrow.  Three more things to try
 1. UBCD and Western Digital diagnostics.
 2. Bring the RAID array up via the live cd and see if it resyncs.  At
 least I'll be able to inspect the log files when the I/O errors hit.
 3. Try using the 3Gb/s channel.

Finally got a chance to get back to this (have just moved offices).

1. Tried the WD disagnostics via UBCD and, as predicted, drives came up
all clear.
2. Brought the RAID array up under Partition Majic (via live UBCD) and
it resynced fine.  No amount of prodding could reproduce the errors I
was seeing before. Hmmm...
3. Did a fresh install and got the same problems as before.
4. Poked around in the BIOS to ensure that there were _no_ Fake RAID
settings active.
5. Sigh, okay lets try the 3Gb/s channel ... (face palm!)

On opening the box I noticed the drives were plugged into the GSATA3
ports.  Under a normal viewing angle the 'G' was occluded by the plug
mounts and it wasn't until I took a real close look that I noticed this.
The positioning of the GSATA3 ports on this board was the same as the
normal SATA3 ports on the previous board I used and, I confess, I didn't
read the manual carefully enough shame face.  Apparently the GSATA3
ports are controlled by a Marvell 88SE9172 chip rather than the Intel
Z68 chip.

After swapping over to the normal SATA3 ports and rebuilding, updating,
installing, everything is fine :-)

Thanks to everyone for their helpful comments and advice.

Cheers!

Kal
 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread Ross Walker
On Mar 6, 2012, at 6:59 PM, John R Pierce pie...@hogranch.com wrote:

 On 03/06/12 3:51 PM, Ross Walker wrote:
 Is there a need for inode64? Is it too late to back-out of it, or have you 
 pickled the file system already.
 
 as i undertsand it, you need inode64 on any XFS file system over 2TiB, 
 and ours is 74TiB.

Ah, as I understood it it was only needed if the number of inodes fills up what 
can be held by a 32-bit counter, the documentation is a little weak here.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread James A. Peltier
- Original Message -
| On Mar 6, 2012, at 6:59 PM, John R Pierce pie...@hogranch.com
| wrote:
| 
|  On 03/06/12 3:51 PM, Ross Walker wrote:
|  Is there a need for inode64? Is it too late to back-out of it, or
|  have you pickled the file system already.
|  
|  as i undertsand it, you need inode64 on any XFS file system over
|  2TiB,
|  and ours is 74TiB.
| 
| Ah, as I understood it it was only needed if the number of inodes
| fills up what can be held by a 32-bit counter, the documentation is
| a little weak here.
| 
| -Ross

I've had to use inode64 on far smaller file systems (15TB) due to inode counts 
(many files) and not file system size.

-- 
James A. Peltier
Manager, IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier

Success is to be measured not so much by the position that one has reached
in life but as by the obstacles they have overcome. - Booker T. Washington
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs, inode64, and NFS

2012-03-06 Thread John R Pierce
On 03/06/12 10:40 PM, James A. Peltier wrote:
 I've had to use inode64 on far smaller file systems (15TB) due to inode 
 counts (many files) and not file system size.


My understanding of it is, the inode number is its physical position on 
the disk.   if the first 1TB (2^31 * 512) of the disk has no free space 
to create an inode for a new directory, then that inode requires 64bits.

http://xfs.org/index.php/XFS_FAQ#Q:_What_is_the_inode64_mount_option_for.3F





-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos