So I'm running RAID1 on two NAS drives, with OMV running off of a 120gb SSD. I'm only getting write speeds of ~10mbps, which I think is a little slower than it should be performing. Would it make sense to buy a small USB drive to run OMV on and use the SSD as a write cache?
Beiträge von drew_p13
-
-
This and 'bus error' are an indication that you had SATA cable/connector problems and might still have. Internal SATA connectors are rated for 50 matings max and the combination of dust and grease (that's what we have on our fingers) is a great way to introduce connector troubles.
Wrt voltage you would need to measure at the drive since why should voltage values proudly presented by your BIOS be of any meaning (check Ohm's law)Thanks, I'll switch out SATA connectors again and see if the issue is still there. It may be my motherboard, which I would not be too surprised about.
-
Can you please post the smart values for the drive here in the forum ?
Is this what you were asking for?
Code
Alles anzeigenGeneral SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (31380) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 334) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-K 200 200 051 - 0 3 Spin_Up_Time POS--K 166 163 021 - 6675 4 Start_Stop_Count -O--CK 100 100 000 - 71 5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0 7 Seek_Error_Rate -OSR-K 200 200 000 - 0 9 Power_On_Hours -O--CK 100 100 000 - 549 10 Spin_Retry_Count -O--CK 100 253 000 - 0 11 Calibration_Retry_Count -O--CK 100 253 000 - 0 12 Power_Cycle_Count -O--CK 100 100 000 - 58 192 Power-Off_Retract_Count -O--CK 200 200 000 - 13 193 Load_Cycle_Count -O--CK 200 200 000 - 565 194 Temperature_Celsius -O---K 131 117 000 - 19 196 Reallocated_Event_Count -O--CK 200 200 000 - 0 197 Current_Pending_Sector -O--CK 200 200 000 - 0 198 Offline_Uncorrectable ----CK 100 253 000 - 0 199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 9 200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0
-
Can you please post the smart values for the drive here in the forum ?
Is this what you were asking for?
Code
Alles anzeigenGeneral SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (31380) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 334) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-K 200 200 051 - 0 3 Spin_Up_Time POS--K 166 163 021 - 6675 4 Start_Stop_Count -O--CK 100 100 000 - 71 5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0 7 Seek_Error_Rate -OSR-K 200 200 000 - 0 9 Power_On_Hours -O--CK 100 100 000 - 549 10 Spin_Retry_Count -O--CK 100 253 000 - 0 11 Calibration_Retry_Count -O--CK 100 253 000 - 0 12 Power_Cycle_Count -O--CK 100 100 000 - 58 192 Power-Off_Retract_Count -O--CK 200 200 000 - 13 193 Load_Cycle_Count -O--CK 200 200 000 - 565 194 Temperature_Celsius -O---K 131 117 000 - 19 196 Reallocated_Event_Count -O--CK 200 200 000 - 0 197 Current_Pending_Sector -O--CK 200 200 000 - 0 198 Offline_Uncorrectable ----CK 100 253 000 - 0 199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 9 200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0
-
I thought that might be the issue but I'm not exactly sure how to check for that...
I am able to read/write through my SMB share but Plex cannot access it.EDIT: Changed permissions using chmod and Plex is working correctly now.
-
Hi all,
So when I first built my server I was using FreeNAS. I was getting some errors, so I switched to OMV thinking that it might be the OS, but now I am getting the same issues.
Googling the error brought me to this page: https://ubuntuforums.org/showthread.php?t=2272486 which showed a user with a similar issue who had a power supply issue, with the 12v dropping to 10.2v. I checked my system BIOS and all my PSU stats are exactly what they should be.
I had this error before, so I found the drive ATA2 that was having the errors and switched SATA ports and SATA cables, and the problem persisted.
Could I have a bad drive? A bad PSU? Is my motherboard/CPU incompatible?
EDIT: I am also having issues where Plex is not able to read any data at all off my filesystem. Could this be related?
-
Wow, Midnight Commander is one of the greatest things I have ever used haha
Thanks so much, that's exactly what I was looking for.
-
Hi all,
So I finally set up my ZFS pool and SMB share, and am able to access it from my computer. Now I need to put all of my data onto the server, which I have on a SATA hard drive. Is there any way to import this disk by plugging it straight into the server itself and transferring the data, or do I have to do this through computers connected to the server?
-
Awesome! Thanks so much for your help. I've got my ZFS pool and my SMB share all set up, and can access it from my computer. I'm marking this thread as resolved and I'll post any other questions in the appropriate place on the forums.
-
Not sure if a raidz1 is possible with only two drives. I thought it must be at least 3. Anyway if you want to use two drives, a zmirror is way better - easy resilvering, great performance.
More of them: ZFS: You should use mirror vdevs, not RAIDZ.
I was doing some research and I just figured this out, so thanks for confirming it. I assumed that RAIDZ1 could be done with two disks, but it looks like it's going to be mirroring for me.
-
I'm working on setting up a new server with two 3TB disks in it. I'm planning to use a ZFS RAID configuration, but was unsure if RAIDZ1 or mirror would be best.
-
FINALLY have the ZFS plugin installed and working. What type of pool should I create if I just want a simple mirror? Do I select the mirror option or something else?
-
Reinstalled OMV, and immediately tried to do the updates, and I'm getting error messages saying:
CodeE: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/
UPDATE: Fixed using this thread Cant update system and/or install OMV-Extras, ZFS plugin is now installing.
-
I am using 3.0.94
I get the same error when trying to upload the plugin you linked. When I look at the ZFS plugin in the plugins list for OMV, I get another error that says "E: Unable to correct problems, you have held broken packages", which I copied below. I also cannot delete my old file system, it just stays there after confirming deletion.
EDIT: I feel I should also mention that the server has an AMD processor, which I know for servers is generally not ideal but I was trying to repurpose my old gaming desktop. Not sure if the processor/motherboard could be causing any compatibility issues.
Reading package lists...
Building dependency tree...
>>> *************** Error ***************
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --force-yes --fix-missing --allow-unauthenticated --reinstall install openmediavault-zfs 2>&1' with exit code '100': Reading package lists...Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
openmediavault-zfs : Depends: zfs-dkms but it is not going to be installed
Depends: zfs-zed but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
<<< ************************************* -
-
Putty is a way to get to the command line of your server, from a windows client. You could, also, use the plugin "shellinabox 3.4". (If you want guidance on that, I can help you with loading "shellinabox" as well.)
On the rest, if you have some patience (and time, important) I'm willing to stick with this until it's beyond me (and I'll be honest about that assessment).
Please post your findings. (Good or bad) We all, to include those who are having the same problem, learn from those who are willing to post results.
Thanks
So I switched the disks on the SATA ports, which broke OMV. I reinstalled OMV and I am still having the same issue.
I'm thinking maybe if I step down to OMV 3, this issue could be solved, as maybe my hardware just doesn't like something about OMV 4?
Also, I looked at the server monitor and it had a lot of errors on it:
UPDATE: Have Putty working now, at least.
UPDATE 2: Reinstalled OMV on my server with version 3.0.94 and I can now view the file system as it should be. I'm going to remove and recreate the file system just to make sure that it's working correctly, and then attempt to setup with ZFS.
UPDATE 3: Before recreating the new file system, I decided to setup a SMB share, which worked as expected.
UPDATE 4: Deleted shared folder, file system and RAID. Starting fresh and setting up a new RAID1, and then I need to figure out how to set up a ZFS file system. I tried installing the ZFS plugin before, but every method failed.
-
The drives appear to be fine.
And you say this happens with both freeNAS and OMV? The problem in this, from a troubleshoot view point, is that anything on the command line won't work without a mounted file system. (So, before looking at manually mounting a file system on the CLI.)
Bear with me in the following - this is speculation - but a bit of speculation may be in order if this is happening with two different operating systems. (This may be some sort of hardware or BIOS limitation.)
_______________________________I've only seen something somewhat similar to this in an OMV Virtual Machine:
When rearranging the order of physical devices, I've seen a file system disappear. After reestablishing the order, it reappeared. (It was ZFS array, BTW.)I've noticed that you're booting from /dev/sdb1 (a 100gb drive) which probably means that you're probably not booting from the first sata port. Usually, Linux assigns device designations by sata port numbers.
I.E.
sata0 = /dev/sda
sata1 = /dev/sdb
sata2 = /dev/sdc
etc.(It's going to take a flashlight to see the port designations on the motherboard.) Can you set your boot drive on the first sata port, with your 2 each 3TB drives on the next two ports? (The CD/DVD rom, if any can, could go on the last port.)
Depending on your BIOS, you might have to go into BIOS and check/reset the boot order.
_______________________________If you don't have Putty, (for the command line) download it and install it one of your clients.
Correction: On freeNAS I was able to make a filesystem, but was getting "Uncorrectable parity/CRC" errors, after I had my RAID1, filesystem, and SMB share setup. It is only with OMV that I am unable to create a filesystem.
I'll try your suggestion about switching the SATA ports, and I'll try to figure out Putty as well. Thanks!
-
Extended SMART info
-
A quick wipe is fine. (Secure wipe is a way to erase the contents of the drive. Usually not necessary.)
It's not necessary to separate the drives for SMART. For data drives, SMART stat's are independent of the file system.
Deleted the RAID, quick wiped the drives, and attempted to set up each as their individual file system. File system creation still does not work, for either drive.
-
The purpose of formatting the individual drives was to see if they "disappeared". If they didn't, I wouldn't be sure were to go from there, except to (potentially) ZFS.
____________________________________Can I assume that your smart counts for the following are Zero?
SMART 5 – Reallocated_Sector_Count.
SMART 187 – Reported_Uncorrectable_Errors.
SMART 188 – Command_Timeout.
SMART 197 – Current_Pending_Sector_Count.
SMART 198 – Offline_Uncorrectable.
____________________________________RE. ZFS. You'd be far better off with ZFS then with mdadm RAID1.
Are you comfortable on the command line?
Actually didn't separate the drives before doing the SMART tests, so doing that now. I did a quick wipe before on both disks, is a secure wipe necessary since it takes so much longer?
I know some very basic command line stuff, but I'm comfortable with instructions.