Solved

FreeNAS 0.69 Accessing Drive Data on Rebuilt Server

Posted on 2009-05-13
16
1,200 Views
Last Modified: 2013-12-02
I had a a FreeNAS 0.69 RC1 Server which I used a few large drives to store data (shocker, I know).  Using the Samba share feature I was able to use AD to connect to my Domain and make these shares available to the other users via drive mapping logon scripts.  I was also able to use the types of shares in the Domain DFS without a problem.
Not understanding UNIX\Linux access permissions I kept my configurations in terms I understood.  I shared out a specific directory and then I opened to the child directories and set the permissions on them.  This allowed me to restrict/allow as needed.

...Then we bought a house in another town.  My FreeNAS boot partition got corrupted and a reinstall didn't work as I'd expected.  My answer to this was to rebuild the box as ver0.69 and reattach the drive.  Simple, right?

Wrong.  After adding the disks (as UFS EPT), creating Mount Points, Connecting to AD and creating Shares IF I am able to connect to a share (and that seems hit or miss) I ALWAYS seem to get "Access Denied" when trying to drill-down to child containers.

Two questions:

1) Why is setup so different now when it was BLISSFULLY simple with the RC1?

2) How can I reset the File & Folder permissions on EVERYTHING so that I can AT LEAST access the data that is already on the FreeNAS disks (..eh,..formatting the drives is a joke I've ALREADY heard one too many times, thank you  :o Z  )?

I'm trying to locate a specific backup job but, not being able to access any container other than the root of a share, I can't browse the child containers in order to look for it.
0
Comment
Question by:LateNiteR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
16 Comments
 
LVL 3

Author Comment

by:LateNiteR
ID: 24399411
OK.

Mapping a drive from Windows XP to...
FreeBSD
FreeNAS 0.69 RC1
NAS Server

I'm TRYING to reset the folder and file permissions on the drive's contents so that I can "Start Over" and repermission appropriately.

ANY Help in adding a Zone, or Zones is appreciated.

Thanks.
0
 
LVL 62

Expert Comment

by:gheist
ID: 24405283
You have to use production release - 0.69.1, not prerelease RC1
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24405777
I am using:
0.69 Kwisatz Haderach (revision 4276)

(SHAME on me for not including that theFIRST time)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:LateNiteR
ID: 24405799
....eh...additionally, The 0.69.1 is designated for AMD64 use.  I'm i386 x32.  I couldn't use that, correct?
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24432157
HEY!
Let m ask it this way:

"What is the linux command to reset file permissions of an entire volume?"
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 24435020
chmod -R perm dir
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24449663
OK.  Good. This will need to be run for each directory?

I have downloaded a couple of whitepapers of Linux commands and I plan to study them as it is obvious I need to up my level of proficiency with Linux.  I hoped against hope that I would be able to skirt-by with something simple.  Oh well, if it makes my data available AND prevents any future moment of panic in the future......so much the better.
0
 
LVL 62

Expert Comment

by:gheist
ID: 24463029
in place of "dir" you can mention many directories to adjust permissions recursivly
Also chown command changes owner and/or group/
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24463399
If I use this at the top-most container, will it reset the permissions all the way to the file-level?
0
 
LVL 62

Expert Comment

by:gheist
ID: 24467368
Yes, it resets all permissions in all subdirectories.
0
 
LVL 62

Expert Comment

by:gheist
ID: 24467377
Yes, it resets all permissions in all subdirectories.
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24469403
I will try it in the morning and award points once it's completed.

Sweet !!  I'm psyched to have learned something AND to get my data back.
0
 
LVL 3

Author Comment

by:LateNiteR
ID: 24501541
OK.  I'm trying to use the command now by using the Command function in the WebGUI.  While I can still access the root of the share I can not access certain folders which were established under a different Windows account in my original setup (Months ago).

I know that Linux is case sensitive.  When trying to reset the permissions do I replace 'dir' with the sharename+folder or is the sharename enough?

My goal is to restore the data to it's original state.  I had shared the drives and then managed access and permissions via the Windows accounts on my Domain.  Since I first install FreeNAS I have since rebuilt the MS Domain so I realize that there will/are AD SIDs which cannot be resolved by FreeNAS as these accounts no longer exist.

Any help is appreciated.  I am reviewing the use of chmod and chown and hopefully a light will go on in my head eventually.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime is disastrous for companies and can lead to major hits on a brand, reputation, an…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question