Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 11-21-2010, 12:56 AM   #1
Max8
Cooling Neophyte
 
Max8's Avatar
 
Join Date: Mar 2009
Location: Sydney Australia
Posts: 83
Default Volume Repair Help

I have an issue where the odd file is viewable but I cannot do anything with it.

If I try to copy it I get an “access denied” error but I do have access to the share…

Can anyone suggest a fix for this?
Max8 is offline   Reply With Quote
Unread 11-21-2010, 08:31 AM   #2
Terry Kennedy
Cooling Neophyte
 
Terry Kennedy's Avatar
 
Join Date: Apr 2005
Location: NYC area
Posts: 51
Default Re: Volume Repair Help

Quote:
Originally Posted by Max8 View Post
I have an issue where the odd file is viewable but I cannot do anything with it.

If I try to copy it I get an “access denied” error but I do have access to the share…

Can anyone suggest a fix for this?
Is this on a SnapOS unit? If so, you may be able to access the file via FTP (obviously, FTP needs to be enabled in the server admin menu).
Terry Kennedy is offline   Reply With Quote
Unread 11-21-2010, 09:29 PM   #3
Max8
Cooling Neophyte
 
Max8's Avatar
 
Join Date: Mar 2009
Location: Sydney Australia
Posts: 83
Default Re: Volume Repair Help

It is a Guardian OS unit
Max8 is offline   Reply With Quote
Unread 11-22-2010, 10:13 PM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Volume Repair Help

You need to stop samba and restart it. There was a post on this awhile back. If it's a deleted file and a marker left behind I just use putty to remove it.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 11-23-2010, 05:17 AM   #5
Max8
Cooling Neophyte
 
Max8's Avatar
 
Join Date: Mar 2009
Location: Sydney Australia
Posts: 83
Default Re: Volume Repair Help

Hi Gents,

I tried both items, Disabled Un-opp Locking & restarted Samba but still no dice…
I also attempted downloading it from the web page that did not work either.

I have 6 files in that folder and two can be copied but four cannot be copied, I am sure I did not accidentally delete them...

As I have admin rights as a user I did not try it being logged in as an admin but will do that Next but I do not think that is the issue…

Any more assistance will be very much appreciated…
Max8 is offline   Reply With Quote
Unread 11-23-2010, 02:59 PM   #6
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Volume Repair Help

When working on the shell level you must be logged in as admin to do anything.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 11-27-2010, 01:02 AM   #7
Max8
Cooling Neophyte
 
Max8's Avatar
 
Join Date: Mar 2009
Location: Sydney Australia
Posts: 83
Default Re: Volume Repair Help

Hi Blue,

I have tried it as admin and still it will not work. the previous post said that the user;
"I can copy and save files. But I can't delete or edit (and save!!) them. Windows (all releases) say: file is open.
Everything is justified as on the other servers."


In my case I can see the files they look complete.
There are 5 in the directory but 3 of them will not allow me to play, copy or delete the other two will allow these actions

When I play from this location media player gives me the message is;
"Windows media player cannot access the file. the file might be in use, you might not have access to when the file is stored, or your proxy settings might not be correct"

When I copy from this location windows explorer gives me the message;
“cannot copy [file]; access is denied. Make sure the disk is not full or write-protected and that the file is not currently in use”

When I try to download from the snap gui it just keeps asking for login details over an over but the file beside it asks once and goes to the download window…
Max8 is offline   Reply With Quote
Unread 12-16-2010, 03:32 AM   #8
Max8
Cooling Neophyte
 
Max8's Avatar
 
Join Date: Mar 2009
Location: Sydney Australia
Posts: 83
Default Re: Volume Repair Help

Hi Blue & viewers,

Its all good now, when I did a recent replication the problem files played ball...

I rebooted after making the changes as per the related posts;
“Check that you have opportunistic locking disabled. Also, restart samba by running /etc/init.d/smbd restart on the command line (as root). That should release any existing file locks.”

And it didn't allow me to access the files so I am not sure when it happend but it is fine now...
Max8 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:25 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...