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!

Deleted file appear like its not deleted

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Torgele
Starter
Starter
Posts: 15
Joined: 08 Oct 2012 01:25
Location: Greece, Alexandroupolis
Status: Offline

Deleted file appear like its not deleted

Post by Torgele »

Today a very strange bug happened. I delete an .xls file, and when i go to another computer the file is there! i try to open, and the file is unable to open.

Everytime i refreshed the share, the file was there, even if i deleted it all the time. I restarted nas and it left for now.

What i can do to eliminate this? I had 306 version and i upgrated to 358 after this bad incident :shock:

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Deleted file appear like its not deleted

Post by ChriZathens »

This has actually happened to me, too, a lot of times...
The only way to delete the file is via the file manager, while logged in as root.
But I never posted in the forums about it since I am on an old n4f release (9.0.0.1.175)
I was waiting till I find time to upgrade to latest first and then try to find out why it is happening...
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Deleted file appear like its not deleted

Post by raulfg3 »

Perhaps permission problem?.

try to own all your data share

Code: Select all

chown -R ftp:wheel /mnt/yourmount/yourshare
<- This works for me

Revise if the "rebel" file have other permision or atributes (777) that have the files that you can delete without problem.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Deleted file appear like its not deleted

Post by ChriZathens »

I am afraid it is not a permission issue.
First thing I checked was that.
The user I am using had full permissions but was still happening.
It was a very rare case, though, and since I reverted to nt1 it stopped happening.
I cannot be sure that this was the problem, though, since as I mentioned, it was happening very rarely...
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Deleted file appear like its not deleted

Post by ChriZathens »

Double posting here, in order to add/correct some points regarding this issue:
I was using a samba share mapped as a network drive to my windows 7 x64 machine. For starters, it seemed that the problem was not that the file was not being deleted. After a while I noticed that the file was actually being deleted, but another file (0 bytes in size) with the same name was being created there.
Permissions should not be an issue. Explaining why: After deleting the file and trying to copy-paste another with the same name I was getting a permission denied error. Refreshing the folder showed that the file was still there (but 0 bytes this time). Without deleting the file from file manager I was trying to do the same copy-paste via ftp. No problems there...
So don't know why it was happening - but I am pretty sure it was a samba issue.
As posted in my previous post, hasn't happened again since I reverted to NT1, but it was so rare that I can't be sure (besides the fact that it was happening once in 20/30 times, I am also using ftp 95% of the times to transfer my files)
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Deleted file appear like its not deleted

Post by alexey123 »

What i can do to eliminate this?
Windows is Image

When I see W7 in first time, I try to create folder on desktop.
This task is difficult for W7 , i5 CPU and 4G RAM - I was see watch icon :?: :?: :?: :?:

It have big cache, and not read real files, it put icons from cache.

This is W7 father. I think He is crazy.

You buy rented Windows?
Image
I restarted nas and it left for now.
Why?
Why you restart NAS? You need restart Windows. :D
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Torgele
Starter
Starter
Posts: 15
Joined: 08 Oct 2012 01:25
Location: Greece, Alexandroupolis
Status: Offline

Re: Deleted file appear like its not deleted

Post by Torgele »

"when you cant proove you are not guilty, proove that your enemy is guilty too".... wise theory :D

Post Reply

Return to “CIFS/SMB (Samba)”