data set hidden

bdodson

Cadet
Joined
Apr 15, 2019
Messages
5
good morning, I have an issue with a NAS running 11.2 somehow ( I have no idea) a second data set was created the original named DS0 and the second named ds0 I have a backup of the data on ds0 but not DS0 if I understand what I read in the manual and various threads(as a noob that is suspect) but it looks like one of a couple of things are happening.
1. the new data set has been mounted on top of the original so I can see the new one but not what is underneath. the "fix" I have found says to unmount dataset but that had no effect. is there a way to force it to unmount with out damaging the data underneath?

2. I opened a ticket with support I attached a scree shot of their reply I tried to follow the instructions but found that the setting for sensitive or unsensitive is set during creation and cannot be changed later. so that leaves with a riddle if they are sensitive and the OS is seeing them as different datasets than why wont it let me access the DS0 dataset or mount/unmount either one.

hope to hear from you soon I need all the education I can get at this point.
 

Attachments

  • Capture.PNG
    Capture.PNG
    24.8 KB · Views: 294

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
zfs umount -f /mnt/pool/dataset ? perhaps that's what you're looking for?

Mount operations don't act on data in datasets, just the mounted state and locations.
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Are you absolutely sure it's a dataset and not just a Directory inside a dataset with a dataset on top?

zfs list would help to determine that.
 

bdodson

Cadet
Joined
Apr 15, 2019
Messages
5
wow that was a faster response than I was expecting I wont be back to the for a little while I will get the results of zfs list
 

bdodson

Cadet
Joined
Apr 15, 2019
Messages
5
ok here is the results of zfs list, however, I am being told by a colleague that I am not explaining the issue correctly and wasting your time so I will make every effort to clarify what the conditions are.
when we browse the SMB share on ds0 you can see some of the data roughly 700GB however the system shows 10TB used zsf list shows the same data amount but all of it in ds0 the only place I can see DS0 in in the jails (see second attachment) I will glady run what ever diagnostics are needed or answer what ever questions you have and it is only visible in the legacy interface.
 

Attachments

  • 20190416_101658.jpg
    20190416_101658.jpg
    246.8 KB · Views: 282
  • 20190416_101837.jpg
    20190416_101837.jpg
    416.1 KB · Views: 290

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
It seems to me that ds0 is a directory, not a dataset (DS0 is a dataset).

can you cd to either (or both) of them?

cd /mnt/VL0/DS0

cd /mnt/VL0/ds0

if so, are the right contents in the respective areas?

It may make sense to just copy the data from ds0 to DS0 and delete ds0.
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
FreeBSD is case sensitive, so it would be fairly safe to assume Ds0 and DS0 will have their own separted mount points.
 

bdodson

Cadet
Joined
Apr 15, 2019
Messages
5
It seems to me that ds0 is a directory, not a dataset (DS0 is a dataset).

can you cd to either (or both) of them?

cd /mnt/VL0/DS0

cd /mnt/VL0/ds0

if so, are the right contents in the respective areas?

It may make sense to just copy the data from ds0 to DS0 and delete ds0.
ok I can cd into both and the data looks right.
what next? since I cannot see them in a smb share I suspect I will need to use CLI/shell to move them is there a preferred way to copy all the data at once this is what I found for syntax
cp filename newname
Copy one file cp file1 file2 ... subdir/
 

Attachments

  • cd results.txt
    1.2 KB · Views: 356
Last edited:

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
you could rename/relocate the dataset without moving files.

zfs rename VL0/DS0 VL0/new_name_for_DS0
 
Top