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 07-18-2008, 11:52 AM   #1
JELo
Cooling Neophyte
 
Join Date: Aug 2006
Location: Sheridan
Posts: 18
Default Snap410 locked files - can't delete

Not sure how some of my users did it but they managed to get some files locked to the point where noone can view, rename, move or delete them. Several reboots of the Snap - cold and warm - have had no effect. Support has expired so Adaptec has been no help. I was wondering if anybody knew of a way to get in through the debug console and force a release of the locks or even manually delete the files? I was able to recover all of the data from back-ups so no problem there, just need to get rid of the shrapnel.

Unit is: Snap 410 GOS 4.4.049 with SP3 applied
have had almost no problems with it in a years worth of use

Thanks, JELo
JELo is offline   Reply With Quote
Unread 07-18-2008, 03:01 PM   #2
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Snap410 locked files - can't delete

SSH into the shell with putty. Once your there login under admin. Then osshell (may be os shell) then su root, enter the admin password. Then locate the files and use chmon to 777. that will give you full rw access.

Some times it's easier to just delete the user share. The add it back in, then restore the files from backup.
__________________
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 07-19-2008, 07:48 AM   #3
JELo
Cooling Neophyte
 
Join Date: Aug 2006
Location: Sheridan
Posts: 18
Default Re: Snap410 locked files - can't delete

Quote:
Originally Posted by blue68f100 View Post
SSH into the shell with putty. Once your there login under admin. Then osshell (may be os shell) then su root, enter the admin password. Then locate the files and use chmon to 777. that will give you full rw access.

Some times it's easier to just delete the user share. The add it back in, then restore the files from backup.
Your suggestion worked. It has been some time since my mainframe days but getting back to a command line interface those oft used commands from the past - pwd, ls -l, chmod, rm -r, . . . - came right back. Many thanks, JELo
JELo 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 07:27 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, 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...