LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-19-2012, 09:58 AM   #1
ggemmill
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
RAID listing different on two machines


I would be grateful if someone could explain the discrepancy between the displayed contents of what ought to be the same file system as shown on two machines.
Machine Bach runs Mandriva 2011.0 and has a raid 5 array that I use to keep a copy of, among others, a directory "accounts" on machine Mozart. The raid array is mounted and healthy, and the first three levels are listed below.
Machine Mozart, running Mandriva 2010.2, uses rsync (actually grsync) hourly to transfer files from its "accounts" directory to the raid array on Bach. I know that what is in Mozart/accounts matches what is shown in Mozart/mnt/raid/accounts - what I can't understand is why the listing doesn't match Bach/mnt/raid/accounts, as shown in the secont part of the list. It is as though the listing on Bach has been frozen in time.

[root@Bach ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sda1[0] sdd1[2] sdc1[1]
976767872 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

unused devices: <none>
[root@Bach ~]# mount /dev/md127 /mnt/raid
[root@Bach ~]# cd /mnt/raid
[root@Bach raid]# ls -l
total 28
drwxr-xr-x 4 graeme graeme 4096 Dec 10 2009 accounts/
drwxr-xr-x 17 graeme graeme 4096 Apr 5 2010 Audio/
drwxr-xr-x 2 graeme graeme 16384 Mar 22 2010 lost+found/
drwxr-xr-x 3 graeme graeme 4096 Apr 9 2010 tv/
[root@Bach raid]# cd accounts
[root@Bach accounts]# ls -l
total 4
drwxr-xr-x 17 graeme graeme 4096 Dec 14 2010 graeme/
[root@Bach accounts]# cd graeme
[root@Bach graeme]# ls -l
total 164
drwxr-xr-x 5 graeme graeme 4096 Jan 21 2011 Asus/
drwxr-xr-x 6 graeme graeme 4096 Jan 26 2011 BOINC/
drwxr-xr-x 2 graeme graeme 4096 Dec 7 2007 DataSources/
drwxrwxr-x 3 graeme graeme 4096 Dec 6 2010 Documentation/
drwxr-xr-x 16 graeme graeme 4096 Jan 26 2011 Documents/
-rw-r--r-- 1 graeme graeme 99595 Jan 21 2010 Home.ics
drwxr-xr-x 4 graeme graeme 4096 Jan 25 2011 Money/
drwxr-xr-x 5 graeme graeme 4096 Jul 29 2010 Music/
drwxrwxr-x 4 graeme graeme 4096 Jan 24 2011 NCI/
drwxr-xr-x 89 graeme graeme 4096 Jan 2 2011 Pictures/
-rw-r--r-- 1 graeme graeme 1404 Jun 15 2010 scan-problem
drwxr-xr-x 2 graeme graeme 4096 Dec 14 2010 Scripts/
drwxr-xr-x 8 graeme graeme 4096 Nov 24 2010 Software/
drwxr-xr-x 8 graeme graeme 4096 Jan 24 2011 Spreadsheets/
drwxr-xr-x 2 graeme graeme 4096 Feb 9 2007 Video/
drwx------ 2 graeme graeme 4096 Dec 6 2009 Views/
[root@Bach graeme]#

BUT

[graeme@mozart graeme]$ cd /mnt
[graeme@mozart mnt]$ ls -l
total 1040
drwxr-xr-x 5 root root 4096 2010-08-20 16:21 asus/
drwxr-xr-x 2 root root 4096 2011-11-18 18:02 bach/
drwxr-xr-x 3 root root 4096 2010-06-06 18:11 install/
drwxr-xr-x 9 root root 0 2011-11-18 16:29 nasdata/
drwxr-xr-x 3 graeme graeme 4096 2010-08-14 15:01 raid/
[graeme@mozart mnt]$ cd raid
[graeme@mozart raid]$ ls -l
total 4
drwxr-xr-x 4 graeme graeme 4096 2011-11-25 18:26 accounts/
[graeme@mozart raid]$ cd accounts
[graeme@mozart accounts]$ ls -l
total 36
drwxr-xr-x 18 graeme graeme 4096 2012-04-15 16:33 graeme/
-rw-rw-r-- 1 graeme graeme 31393 2011-11-25 18:26 Untitled 1.odt
[graeme@mozart accounts]$ cd graeme
[graeme@mozart graeme]$ ls -l
total 836
-rw-rw-r-- 1 graeme graeme 20757 2011-04-06 18:15 abook-1.mab
-rw-rw-r-- 1 graeme graeme 26940 2012-03-28 10:02 abook.mab
-rw-rw-r-- 1 graeme graeme 2049 2012-01-20 12:04 aplay.Mandriva
-rw-rw-r-- 1 graeme graeme 811 2012-01-20 12:04 arecord.Mandriva
drwxr-xr-x 5 graeme graeme 4096 2011-09-07 12:26 Asus/
drwxr-xr-x 6 graeme graeme 4096 2012-04-18 11:42 BOINC/
-rw-rw-r-- 1 graeme graeme 292 2012-01-20 12:04 cards.Mandriva
-rw-rw-r-- 1 graeme graeme 113 2012-01-20 12:04 chkconfig.Mandriva
drwxr-xr-x 2 graeme graeme 4096 2007-12-07 11:57 DataSources/
-rw-rw-r-- 1 graeme graeme 1754 2012-01-20 12:04 dev.Mandriva
drwxrwxr-x 3 graeme graeme 4096 2012-02-22 17:54 Documentation/
drwxr-xr-x 14 graeme graeme 4096 2012-04-16 11:51 Documents/
-rw-rw-r-- 1 graeme graeme 173047 2011-06-16 14:00 garden.jpeg
-rw-rw-r-- 1 graeme graeme 2605 2012-01-20 12:04 getfacl.Mandriva
-rw-r--r-- 1 graeme graeme 11144 2008-06-17 08:21 Graeme.ods
-rw-r--r-- 1 graeme graeme 99595 2010-01-21 13:24 Home.ics
-rw-rw-r-- 1 graeme graeme 40 2012-01-20 12:04 loginctl.Mandriva
drwxrwxr-x 2 graeme graeme 4096 2011-03-26 11:01 MailArchive/
-rw-rw-r-- 1 graeme graeme 2333 2012-01-20 12:04 mixer.Mandriva
-rw-rw-r-- 1 graeme graeme 165 2012-01-20 12:04 modeprobe.Mandriva
-rw-rw-r-- 1 graeme graeme 77 2012-01-20 12:04 modules.Mandriva
drwxr-xr-x 4 graeme graeme 4096 2012-04-15 14:20 Money/
drwxr-xr-x 5 graeme graeme 4096 2010-07-29 13:23 Music/
drwxrwxr-x 16 graeme graeme 4096 2012-04-16 11:51 NCI/
-rw-rw-r-- 1 graeme graeme 120320 2012-01-08 15:07 NCILB19 Station Incident Report.doc
-rw-rw-r-- 1 graeme graeme 191488 2011-11-13 15:16 NCI Newsletter 5 amended.doc
-rw-rw-r-- 1 graeme graeme 6664 2012-01-20 12:04 pacmd.Mandriva
drwxr-xr-x 106 graeme graeme 4096 2012-04-09 11:30 Pictures/
-rw-rw-r-- 1 graeme graeme 18944 2011-11-25 10:56 Plotting Exercise 13th December 2.doc
drwxr-xr-x 2 graeme graeme 4096 2012-02-10 16:57 Scripts/
-rw-rw-r-- 1 graeme graeme 322 2012-01-20 12:04 sessions.Mandriva
drwxr-xr-x 8 graeme graeme 4096 2012-04-07 13:24 Software/
drwxr-xr-x 9 graeme graeme 4096 2012-04-17 10:50 Spreadsheets/
-rw-rw-r-- 1 graeme graeme 42716 2011-11-22 12:35 syslog.txt
drwxr-xr-x 2 graeme graeme 4096 2007-02-09 13:29 Video/
drwx------ 2 graeme graeme 4096 2011-05-17 18:04 Views/
[graeme@mozart graeme]$
 
Old 04-19-2012, 09:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
this is very muddled... why would this relate to raid?? Sounds like you need to pay attention to the rsync operations, run them in debug etc and read the logs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD files/folders uploaded by OSX machines can only be deleted by OSX machines rjo98 Linux - Server 11 03-16-2012 02:09 PM
Communicating between 2 linux machines / windows-lunux machines xombboxer Linux - Newbie 2 03-15-2012 03:57 AM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
can see other machines, but other machines can't see me with TPC/IP egomez Linux - Networking 8 04-28-2006 01:08 AM


All times are GMT -5. The time now is 07:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration