Solved

FreeNAS 0.69 Accessing Drive Data on Rebuilt Server

Posted on 2009-05-13
16
1,202 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . 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…
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

724 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