This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

no trash with samba

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

no trash with samba

Post by kaos »

Hello

I'am newbies whith N4F and i'am french / double excuses :)

since I installed my NAS, i dont see the trash in my Finder (OSX)
I deleted lots of files but disk space is always the same, I think we should empty the trash, but you must have one :)

My configuration

Image

Image

Image

Thx for your help
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

kaos wrote:Hello

I'am newbies whith N4F and i'am french / double excuses :)

since I installed my NAS, i dont see the trash in my Finder (OSX)
I deleted lots of files but disk space is always the same, I think we should empty the trash, but you must have one :)

My configuration

...

Thx for your help
If the recycle bin is enabled you should find it in the root directory of every share with the directory Name .recycle
Maybe you must enable an Option in Finder to See hidden files / directories (starting with a dot) ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

Hello CREST

unfortunately it appears nowhere

I have another NAS (Dlink) and i see the recycle but not whith my N4F :cry:

Image
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

kaos wrote:Hello CREST

unfortunately it appears nowhere

I have another NAS (Dlink) and i see the recycle but not whith my N4F :cry:
Just to verify
- the recycle bin on your DLink is a hidden directory which means that you can see hidden files/directories and
- you already deleted files on the specific share ;) because the recycle bin will be created only with the first deleted file ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

But my N4S was created 2 month left so i already deleted files and i dont find the recycle.

yesterday, I deleted 40Go on a 500TB hard drive and the free space d'ont moove, its suppose i need to clear the recycle but where ?

However i choose the option "crate recycle" in share option
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

Guest
Status: Offline

Re: no trash with samba

Post by Guest »

Sorry, don't wanna be rude but you still didn't tell me if finder is setup to show hidden directories ...
But anyway, you could check it also on the system console or in a SSH session, cd to the root of your share e.g.

cd /mnt/your-share-name

and

ls -hal

for the directory list, here you should have a directory named .recycle

... and yes, if you enabled the recycle bin you must delete the files from the bin to have more space on your share.

Regards
crest

Sent from my Lenovo B8000-F with Tapatalk.

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

Sorry, don't wanna be rude but you still didn't tell me if finder is setup to show hidden directories ...
But anyway, you could check it also on the system console or in a SSH session, cd to the root of your share e.g.

cd /mnt/your-share-name

and

ls -hal

for the directory list, here you should have a directory named .recycle

... and yes, if you enabled the recycle bin you must delete the files from the bin to have more space on your share.

Regards
crest

Sent from my Lenovo B8000-F with Tapatalk.
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

Oh sorry Crest :) I did not realize you were expecting it.
i make tests / verifications and I come back.


Thanks a lot for your time
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: no trash with samba

Post by daoyama »

You can overwrite checkbox by Auxiliary parameters. (and other settings, of course)
First, check Auxiliary parameters is empty. (both Settings and Shares)
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

hello daoyama,

Auxiliary parameters are empty.

i try Crest solution

Code: Select all

n4f: HomeServer-500Go # ls -hal
total 32834
drwxrwxrwx   6 root  wheel      1.0k Sep  3 12:56 .
drwxr-xr-x   5 root  wheel      512B Sep  3 12:55 ..
drwxrwxrwx   3 kaos  wheel      512B Jun 19 09:39 .recycle
drwxrwxr-x   2 root  operator   512B Jun 19 09:36 .snap
-r--------   1 root  wheel       32M Jun 19 09:36 .sujournal
drwxrwxrwx  15 kaos  wheel      2.0k Jul  4 19:33 02-Classic SciFi- old_school
drwxrwxrwx  12 kaos  wheel      512B Jul 11 23:44 Sauvegardes Séries
n4f: HomeServer-500Go # 
The recycle exist but ....

Is it a "right accés" problem like in ftp (chmod) ? i never use it in ssh.

Sorry i'am a real beginner but why it's so difficult to see the recycle ?

Thanks a lot for your help
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

kaos wrote:hello daoyama,

Auxiliary parameters are empty.

i try Crest solution

Code: Select all

n4f: HomeServer-500Go # ls -hal
total 32834
drwxrwxrwx   6 root  wheel      1.0k Sep  3 12:56 .
drwxr-xr-x   5 root  wheel      512B Sep  3 12:55 ..
drwxrwxrwx   3 kaos  wheel      512B Jun 19 09:39 .recycle
drwxrwxr-x   2 root  operator   512B Jun 19 09:36 .snap
-r--------   1 root  wheel       32M Jun 19 09:36 .sujournal
drwxrwxrwx  15 kaos  wheel      2.0k Jul  4 19:33 02-Classic SciFi- old_school
drwxrwxrwx  12 kaos  wheel      512B Jul 11 23:44 Sauvegardes Séries
n4f: HomeServer-500Go # 
The recycle exist but ....

Is it a "right accés" problem like in ftp (chmod) ? i never use it in ssh.

Sorry i'am a real beginner but why it's so difficult to see the recycle ?

Thanks a lot for your help
Hi again,
IMHO it's just the problem that finder doesn't display hidden directories, you should find the switch in your Mac desktop (sorry, I don't own one but for sure other Mac users can help with this issue) ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

Hello Crest

I would have liked another solution because it is not beautiful :D

But i do, this is the screenshot

Image

To see all the files on OSX, we need to open Terminal and tape

Code: Select all

defaults write com.apple.finder AppleShowAllFiles 1 
to switch off this fonction

Code: Select all

defaults write com.apple.finder AppleShowAllFiles 0 
I would like to make a mounting recycle like a share folder, is it possible ?
anyway, i empty recycle and i have now lot of free space on my HD

How is it on your computer ? do you use samba ?

That realy cool to help me !
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

kaos wrote:Hello Crest

I would have liked another solution because it is not beautiful :D

But i do, this is the screenshot

...

To see all the files on OSX, we need to open Terminal and tape

Code: Select all

defaults write com.apple.finder AppleShowAllFiles 1 
to switch off this fonction

Code: Select all

defaults write com.apple.finder AppleShowAllFiles 0 
I would like to make a mounting recycle like a share folder, is it possible ?
anyway, i empty recycle and i have now lot of free space on my HD

How is it on your computer ? do you use samba ?

That realy cool to help me !
Welcome ;)

As expected it was just finder ... Sure I use samba because my clients are Windows based, the only thing I'm wondering about is that you must use the terminal to activate the switch to display hidden files, both in Windows and Linux one can active it via the explorer/file manager in the OS GUI.

Didn't try to create a share for the recycle bin (if I understand your question in the right way) but you can easily try this in the N4F WebGUI. For my it makes not really sense because if you want to recover deleted files you can access them with the above solution, and normally it will not happen very often ...

To get rid of files in the recycle bin you cold use Extended GUI, I implemented a purge function for samba recycle bins. It's possible to let it run manually, at system startup and/or closedown or as a time schedule.
Within the next weeks I will propose this solution to the developers of N4F as an enhancement for the samba portion of the WebGUI, so you could also just wait for one of the next 10.2.x releases - if the devs like to take it ... ;)
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

kaos
Starter
Starter
Posts: 72
Joined: 07 Jun 2015 12:49
Location: Jupiter
Contact:
Status: Offline

Re: no trash with samba

Post by kaos »

Thank you so much

I might be testing the Extended GUI soon.
Or elese, a french gye give me this solution, i try to night too and I will be back to say if its work.

it would be great if the Dev team can do something in the future :idea:


Traduction : It seems that the folder "recycle" is mounted on your Mac with the attributes "hidden"
This is what I have found if its help you:

laster13 wrote:Il semblerait que le dossier "recycle" soit monté sur ton mac avec les attributs "hidden"
Voila ce que j ai troiuvé si ca peut t aider :
It could be the data has been set with hidden attribute. Possible solution would be to create a map drive on all of your Diskstation's share folder in Windows. Then run the cmd and these command:

1. Z: (if a share folder is assigned to Z drive)

2. attrib -s -h /S /D *.*

This will remove all hidden attribute.

or

On Mac client run the command:

Mount the folder by Finder(for example: GRAPHISME)

Open the terminal of Mac, and run the following command

chflags -R nohidden /Volumes/GRAPHISME/*


see you
  • 9.3.0.2 - Nayla (revision 1556)
    Pc from [Trash-picked]
    MB atx- Matsonic 8137 C+
    AMD 1700 XP 1.4Ghtz (32bits)
    2 X 512Go DDR 400 Mhz
    IDE Maxtor Diamond 40Go "N4F" + Western Digital Caviar 300Go + Seagate Barracuda 500Go
    CSL Controleur Pci 2 x sata + 1 IDE
    SATA WD blue 250Go

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: no trash with samba

Post by crest »

kaos wrote: ...
it would be great if the Dev team can do something in the future :idea:
...
see you
In the meantime I proposed to integrate the code I implemented for cifs/smb purge in the Extended GUI to the devs, maybe they will decide to take it for an upcoming release ...
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

Post Reply

Return to “CIFS/SMB (Samba)”