Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Two RN516 units: missing shares after rsync
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
01:06 PM
2013-12-02
01:06 PM
Two RN516 units: missing shares after rsync
Hello!
I have two RN516. When I installed the second unit, I did a rsync from the /data/* directory to the target RN516.
The problem now is that the one of the folders, /data/Repo, was initially only present on the source RN516 and so it got created on the target RN516.
It does not show up as a "share" in frontview. Thus, I am unable to enable SMB for it. If I try to create the share on the target RN516, frontview tells me that the directory already exists.
I did not notice this until I moved to unit to another office, so doing another sync over the internet is problematic.
Is there a way to manually register /data/Repo as a share through a SSH terminal window so that I can manage it through Frontview?
I have two RN516. When I installed the second unit, I did a rsync from the /data/* directory to the target RN516.
The problem now is that the one of the folders, /data/Repo, was initially only present on the source RN516 and so it got created on the target RN516.
It does not show up as a "share" in frontview. Thus, I am unable to enable SMB for it. If I try to create the share on the target RN516, frontview tells me that the directory already exists.
I did not notice this until I moved to unit to another office, so doing another sync over the internet is problematic.
Is there a way to manually register /data/Repo as a share through a SSH terminal window so that I can manage it through Frontview?
Message 1 of 6
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
01:17 PM
2013-12-02
01:17 PM
Re: Two RN516 units: missing shares after rsync
The most direct path is to rename the folder to a temporary name, and create the share. Then move the data into the share with ssh (deleting the temporary folder after the move completes).
Message 2 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
01:37 PM
2013-12-02
01:37 PM
Re: Two RN516 units: missing shares after rsync
Thanks for replying so quickly!
If that's the only way, I'll do that. The issue with that approach is that moving the files (3TB) into the newly created subvolume takes a very long time, and all I need is to make the directory available through SMB.
🙂
If that's the only way, I'll do that. The issue with that approach is that moving the files (3TB) into the newly created subvolume takes a very long time, and all I need is to make the directory available through SMB.
🙂
Message 3 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
01:41 PM
2013-12-02
01:41 PM
Re: Two RN516 units: missing shares after rsync
You could also try renaming the folder, creating a share, and then renaming again so the original folder is again called "Repo".
I think that will work. I'd turn snapshots (e.g. "continuous protection") off initially. You might also need to reset file permissions when it is done.
EDIT- make sure that the current Repo folder is a btrfs subvolume before you try this.
I think that will work. I'd turn snapshots (e.g. "continuous protection") off initially. You might also need to reset file permissions when it is done.
EDIT- make sure that the current Repo folder is a btrfs subvolume before you try this.
Message 4 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
01:54 PM
2013-12-02
01:54 PM
Re: Two RN516 units: missing shares after rsync
Yes, that works!
I tested this by creating a new folder with SSH,/data/TEST, and placed some files in the folder.
I then created a share called DUMMY, which I then renamed to TEST in FrontView and enabled SMB sharing. The share now shows files in the TEST folder, and the files in TEST were not overwritten by the rename.
I was left with /data/DUMMY, which I then successfully deleted using this command:
btrfs subvolume delete DUMMY
Thanks!
EDIT - did not see your note about checking if Repo is a btrfs subvolume first. It is not, nor is the TEST folder i created. But it works as far as enabling SMB sharing is concerned.
I tested this by creating a new folder with SSH,/data/TEST, and placed some files in the folder.
I then created a share called DUMMY, which I then renamed to TEST in FrontView and enabled SMB sharing. The share now shows files in the TEST folder, and the files in TEST were not overwritten by the rename.
I was left with /data/DUMMY, which I then successfully deleted using this command:
btrfs subvolume delete DUMMY
Thanks!
EDIT - did not see your note about checking if Repo is a btrfs subvolume first. It is not, nor is the TEST folder i created. But it works as far as enabling SMB sharing is concerned.
Message 5 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-02
05:29 PM
2013-12-02
05:29 PM
Re: Two RN516 units: missing shares after rsync
Then leave "continuous protection" disabled for that share.
torer wrote: ...did not see your note about checking if Repo is a btrfs subvolume first. It is not, nor is the TEST folder i created. But it works as far as enabling SMB sharing is concerned.
Message 6 of 6