| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
09-09-2008, 10:42 AM
| | | HSM Failure We just tried to run HSM for the first time, however after getting about 1/2 way done the session failed with the following error. Quote: |
com.zimbra.common.service.ServiceException: system failure: Unable to copy MailboxBlob: {mailbox=11, message=43559, path=/Volumes/Storage_Drive/store/0/11/msg/10/43559-50835.msg} to volume 3 ExceptionId:BlobMover:1220947696108:00204c89752c5a cb Code:service.FAILURE
|
Has anyone seen this error? Any suggestions? | 
10-13-2008, 02:33 PM
| | | We've just had pretty much the same error on our very first HSM session.
com.zimbra.common.service.ServiceException: system failure: Unable to copy MailboxBlob: {mailbox=128, message=8560, path=/opt/zimbra/store/0/128/msg/2/8560-33056.msg} to volume 3 ExceptionId:BlobMover:1223928818440:c04111e2fbe74a 37 Code:service.FAILURE
Anyone know what this means? Do we have to run a repair tool on a mmailbox? | 
10-13-2008, 10:35 PM
| | | Anything interesting about that blob's contents? (I presume it's there/pretty sure we handle missing blob errors much more gracefully.)
His was halfway through, so we can probably rule out write permissions at the HSM volume (I think we throw another error for that anyways/not going off to check at the moment).
Last edited by mmorse; 10-13-2008 at 10:37 PM..
| 
10-14-2008, 10:52 AM
| | | Could you also post the full stack from the mailbox.log? Thanks. | 
10-14-2008, 01:20 PM
| | | I can't see any thing strange about the BLOB. Is there a tool to get info on a BLOB file?
The stack trace:
2008-10-14 09:13:38,510 INFO [BlobMover] [name=larrys@orionhealth.com;] hsm - Finished moving blobs for all mailboxes.
2008-10-14 09:13:38,510 ERROR [BlobMover] [name=larrys@orionhealth.com;] hsm - An error occurred while running BlobMover
com.zimbra.common.service.ServiceException: system failure: Unable to copy MailboxBlob: {mailbox=128, message=8560, path=/opt/zimbra/store/0/128/msg/2/8560-33056.msg} to volume 3
ExceptionId:BlobMover:1223928818440:c04111e2fbe74a 37
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
at com.zimbra.cs.hsm.BlobMover.moveBlobs(BlobMover.ja va:220)
at com.zimbra.cs.hsm.BlobMover.moveBlobs(BlobMover.ja va:125)
at com.zimbra.cs.hsm.BlobMoverThread.run(BlobMoverThr ead.java:29)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: link(/opt/zimbra/store_hsm/0/451/msg/0/1497-2891.msg, /opt/zimbra/store_hsm/0/128/msg/2/8560-33056.msg): No such file or directory
at com.zimbra.znative.IO.link0(Native Method)
at com.zimbra.znative.IO.link(IO.java:88)
at com.zimbra.cs.store.FileBlobStore.link(FileBlobSto re.java:253)
at com.zimbra.cs.hsm.BlobMover.moveBlobs(BlobMover.ja va:213)
... 3 more | 
10-14-2008, 01:22 PM
| | | Ok so reading the stacktrace now I see that the blob this blob is a copy of isn't where it should be. | 
11-26-2008, 11:59 AM
| | | ...and the fix for that is... ??? I don't understand what it's doing with the files in the link() statement. In my error, neither parameter of the link() function exist:
ls: /opt/zimbra/hsm01/0/173/msg/0/2396-13956.msg: No such file or directory
ls: /opt/zimbra/hsm01/0/174/msg/0/2523-11289.msg: No such file or directory
And the second one's /opt/zimbra/store/0 equivilant exists, but not the first one. Why would it complain about files not existing on the HSM volume unless it's moving blobs then verifying they've moved. If the first one doesn't exist on the zimbra store, then...where did it go? I don't understand. | 
08-07-2009, 11:16 AM
| | Outstanding Member | |
Posts: 708
| | Where I'm running into this, the blobs are shared -- copied to more than one user, and single-instance-stored.
Note the link count of 8, second column of ls -l. Code: An error occurred: com.zimbra.common.service.ServiceException: system failure: Unable to copy MailboxBlob: {mailbox=1001, message=59060, path=/opt/zimbra/store5/0/1001/msg/14/59060-241000.msg} to volume 7 ExceptionId:BlobMover:1249663883484:fabfd081fa2bfc84 Code:service.FAILURE
Moved 400808 blobs dated earlier than Sun May 24 07:45:55 CDT 2009
to volume 7.
[zimbra@mail2 ~]$ ls -l /opt/zimbra/store5/0/1001/msg/14/59060-241000.msg
-rw-r----- 8 zimbra zimbra 13145 May 23 22:18 /opt/zimbra/store5/0/1001/msg/14/59060-241000.msg | 
08-07-2009, 11:58 AM
| | Outstanding Member | |
Posts: 708
| | ...of course, among the 400,808 blobs that were moved successfully, surely some had multiple links. | 
09-21-2009, 07:32 AM
| | | It just happened on a customer's server.
The fix (at least the fix that worked for us) is quite simple: - look into /opt/zimbra/log/mailbox.log to get the full error message (not just the one zmhsm prints)
- in the full error message, you can see the account that has the problem (while in the zmhsm error message you only see the mailbox number): in stuartg.orion's post above the account with the problem is "larrys@orionhealth.com")
- reindex this account (CLI or admin web interface)
- restart HSM session (CLi or admin web interface)
CLI command to reindex is: Code: su - zimbra
zmprov rim user@domain.tld start CLI command to restart HSM session is: Code: su - zimbra
zmhsm -t CLI command to display HSM status is: Code: su - zimbra
zmhsm -u
Last edited by Klug; 09-21-2009 at 07:39 AM..
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |