StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

Disk file system showing as RAW

Pure software-based VM-centric and flash-friendly VM storage (iSCSI, SMB3, NFS, iSER and NVMe over Fabrics) including free version. Same software embedded on StarWind ready nodes.

Moderators: art (staff), anton (staff), Anatoly (staff), Max (staff)

Disk file system showing as RAW

Postby chell » Wed Feb 14, 2018 12:18 am

Hi

Several times now I've had a REFS file system show as raw after a reboot. Is there a way of fixing the partition? I've found some utilities for rescuing the data, however all of these involve copying the data off and back to a new partition. A time consuming process.

What shutdown procedure should we be following to prevent any corruption?
I would like to add a script to the UPS shutdown procedure to safely shutdown star-wind. In the event of a power failure we let the servers run on battery for 5 minutes before triggering a shutdown. Ideally there would be two scripts, the first runs when power is lost, this would disable all write caching and create a snapshot. After 5 minutes the second script would shutdown starwind and the server

Any help is much appreciated.
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Wed Feb 14, 2018 12:59 pm

Hi chell,
Could you please clarify, where are you using REFS, for StarWind or underlying storage?
ReFS is still a new file system and it can be "unstable". In your case, I would recommend using NTFS.
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Wed Feb 14, 2018 1:27 pm

I have refs for the underlying storage and for the drive within starwind. The file system within starwind is the drive that has been corrupted.
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Wed Feb 14, 2018 1:55 pm

Chell,
Can you please collect the logs from your systems and PM me for better understanding the problem you faced? Also, please specify more details about your system configuration.
You can collect log using this tool.
Thank you!
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Wed Feb 14, 2018 9:46 pm

Hi

here is the log file https://www.dropbox.com/s/dh61uhx0mi4tzvd/HOST2%2020180215-045311.zip?dl=0
This is a new two node set up running on Intel servers with windows 2016 standard. 128GB, 6x8TB in raid 6, 1TB SSD
I'm not sure when the corruption occurred. The server deployment started in December and then was put on hold due to another emergency. There's no data on the server yet , I would like to save the work done on the configuration. Above all I need to ensure it wont happen again.
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Thu Feb 15, 2018 1:56 pm

Hi chell,
Thank you for logs. We will investigate the issue, it will take some time.
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Thu Feb 15, 2018 2:29 pm

Chell,
Could you please provide logs from the second server as well?
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Thu Feb 15, 2018 8:10 pm

chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Fri Feb 16, 2018 9:02 am

Chell,
Thank you! We will proceed with the investigation.
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Wed Feb 21, 2018 8:00 pm

Hi Chell,
Could you please follow these steps to avoid the issue with RAW disks:
1) Stop StarWindService. And do not forget to run the FlushCacheAll.ps1 script from StarWindX PowerShell examples folder before stopping the service;
2) rename .splumap and .spvmap extension in folders where failed devices located;
3) Start Starwind service;
4) Wait for the mounting progress;
Let me know how about the results!
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Thu Feb 22, 2018 7:38 am

I've deleted the drive now.
I'll have to try that if it occurs again.
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Thu Feb 22, 2018 10:34 am

Hi chell,
Thank you for your reply!
Ok, let me know if it occurs again.
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Mon Feb 26, 2018 11:11 am

I've had a similar problem happen again. This time the drive was formatted as ntfs.
There was a power blackout. The UPS units triggered a shutdown but I cant be sure the shutdown completed before the battery power ran out. Shutting down starwind takes an incredible amount of time.
Now I can see a empty drive one one system, showing as offline (due to clustering)
The other system connects to the local iscsi. but no drive appears in drive manager.
I've tried the above suggestion and i have tried marking the drives as synced.
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Re: Disk file system showing as RAW

Postby Oleg(staff) » Mon Feb 26, 2018 2:12 pm

Chell,
I will ask for logs from both servers again.
Could you please send the logs again?
We will investigate this issue.
Oleg(staff)
Staff
 
Posts: 567
Joined: Fri Nov 24, 2017 7:52 am

Re: Disk file system showing as RAW

Postby chell » Mon Feb 26, 2018 3:05 pm

I'll generate them for you now.

Is it possible to roll back or mount the drive to an earlier version? (i assume that's what the spspx files are)
chell
 
Posts: 41
Joined: Mon Dec 11, 2017 1:19 am

Next

Return to StarWind Virtual SAN / StarWind Virtual SAN Free / StarWind HyperConverged Appliance / StarWind Storage Appliance

Who is online

Users browsing this forum: No registered users and 1 guest