Beiträge von Revers62
-
-
you have to adapt this line to your system
if [[ -e "/srv/e7f4be7f-ade2-4e06-a819-58883b226cc3/media" ]]; then
It's the line 4 in sheell-script.
For that look in your folder /serv/
you will find a serv/xxxxxxxxxxxxxxx/name_of_one_of_your_share
that I get corrected if I say bullshit
-
a big thank you for trying!
I will do :
I will find all the files that contain information on these old disks
result :
etc/smartd.conf
etc/openmediavault/config.xml
etc/hdparm.confI had to run a smart test on these old drives without remembering....
So smartd and OMV keeps information even if the disks are no longer present and if of course we do not unmount the discs properly like me ! -
I don't unmount
In the file systems ( gui OMV ) I don't see any traces of this old drives.
-
Sorry it's me !
This old disk come from my old old nas the one who run on ubuntu with mdadm without OMV.
I just plug it on my new nas for test a HBA.
I see in OMV ( my new NAS ) the disk, and I reemove it.This disk were very old and I will not use them in my new nas.
But Why I can see some traces of these disks in the configuration files
-
Thanks Macon but I just add disk for see if my HBA work and don"t do anything in my OMV with this old disks.
This olds disk come from a raid5 in my previous NAS build ( I was already on OMV )
OMV write information on raid disk perhaps and my new OMV take it ?
I do not know where to look..
-
I still do not really know what to do as a permanent fix. The information in this thread is not really straight forward...but maybe I just have to read it all again.
Is this a known problem?
Why do people recommend snapraid/unionFS in OMV...this is running into trouble especially with novice users...Except of this issue I am really impressed by this system. I am sure I will solve it
Hints still welcome.Read post 10 + 27 = sucess
I do not find your message very nice for developers who spend certainly much more time working on OMV than you have to fix a bug.
-
Looking forward to playing with openmediavault I used old HDD from a previous NAS.
I removed these discs since I received my new discs.Today when I looked at hdparm configuration files I saw references from those old drives that are no longer present in my system.
Is there a way to clean all this?
for example I can see reference to old drive in hdparm.conf
Code
Alles anzeigenquiet /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9KB700773 { apm = 1 spindown_time = 242 write_cache = off } /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7JD2B213172 { apm = 1 spindown_time = 242 write_cache = off } /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9KB700774 { apm = 1 spindown_time = 242 write_cache = off } /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7JD2B213181 { apm = 1 spindown_time = 242 write_cache = off } /dev/disk/by-id/ata-WDC_WD100EMAZ-00WJTA0_xxxxxx { apm = 127 spindown_time = 60 write_cache = on
You can see all old disk it's Samsung HD204UI_*
I try to look in /dev/disk/by-id but I don't see old HD204UI
Code
Alles anzeigendrwxr-xr-x 2 root root 460 mars 5 17:10 . drwxr-xr-x 7 root root 140 mars 1 14:30 .. lrwxrwxrwx 1 root root 9 mars 1 14:05 ata-MATSHITADVD-ROM_UJ890AC_YK00_035910 -> ../../sr0 lrwxrwxrwx 1 root root 9 mars 1 14:05 ata-SAMSUNG_SSD_PM851_2.5_7mm_128GB_S1CTNSAF928480 -> ../../sdd lrwxrwxrwx 1 root root 10 mars 1 14:05 ata-SAMSUNG_SSD_PM851_2.5_7mm_128GB_S1CTNSAF928480-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 mars 1 14:05 ata-SAMSUNG_SSD_PM851_2.5_7mm_128GB_S1CTNSAF928480-part2 -> ../../sdd2 lrwxrwxrwx 1 root root 10 mars 1 14:05 ata-SAMSUNG_SSD_PM851_2.5_7mm_128GB_S1CTNSAF928480-part5 -> ../../sdd5 lrwxrwxrwx 1 root root 9 mars 6 02:28 ata-WDC_WD100EMAZ-00WJTA0_xxxx -> ../../sda lrwxrwxrwx 1 root root 10 mars 1 14:30 ata-WDC_WD100EMAZ-00WJTA0_xxxx-part1 -> ../../sda1 lrwxrwxrwx 1 root root 9 mars 6 02:28 ata-WDC_WD100EMAZ-00WJTA0_xxxxx -> ../../sdb lrwxrwxrwx 1 root root 10 mars 1 14:45 ata-WDC_WD100EMAZ-00WJTA0_xxxxx-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 9 mars 6 02:28 ata-WDC_WD80EZAZ-11TDBA0_xxxx -> ../../sdc lrwxrwxrwx 1 root root 10 mars 1 14:56 ata-WDC_WD80EZAZ-11TDBA0_xxxx-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 mars 6 02:28 wwn-0x5000cca257ee375e -> ../../sdc lrwxrwxrwx 1 root root 10 mars 1 14:56 wwn-0x5000cca257ee375e-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 mars 6 02:28 wwn-0x5000cca273cf24b1 -> ../../sda lrwxrwxrwx 1 root root 10 mars 1 14:30 wwn-0x5000cca273cf24b1-part1 -> ../../sda1 lrwxrwxrwx 1 root root 9 mars 6 02:28 wwn-0x5000cca273d4ef2b -> ../../sdb lrwxrwxrwx 1 root root 10 mars 1 14:45 wwn-0x5000cca273d4ef2b-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 9 mars 1 14:05 wwn-0x5002538844584d30 -> ../../sdd lrwxrwxrwx 1 root root 10 mars 1 14:05 wwn-0x5002538844584d30-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 mars 1 14:05 wwn-0x5002538844584d30-part2 -> ../../sdd2 lrwxrwxrwx 1 root root 10 mars 1 14:05 wwn-0x5002538844584d30-part5 -> ../../sdd5
If you can help ! I'm a newbie !
I try to clean hdparm.conf but the reference comeback when I change an option on the OMV smart gui -
There is one caveat in that fix and it's this # This configuration file is auto-generated. Which implies that if there is an update then that file will be overwritten and you will need to do it again.
Edit: Look at post 10 I'm sure he's a developer for Emby and post 20 by @gron who has made some modifications.I read the solution post10 but I have a question ! sorry for that
so I have to do one "Shell-Script: / usr / bin / wait-for-mergerfs" per sharefolder ?
-
I am new and would like to know if the solution proposed by Kribby ( post 21 ) is validated by the older members of the forum?
I do not doubt the skills of Kribby but I have doubts about mine! -
try "more free space"
I read it's better for speed synch to spread data on all disk -
all work ! it's nice !
1 parity
2 data disk nowI transfert all my data to the new NAS.
Next step add 5x data drive to the system.
What is the best process in GUI for add a hdd when we use Mergerfs + snapraid ?
-
Thanks Paradido!
But I don't understand any rules for this free space if you have a link to check ?
I will use my NAS with big files. +/- 50G per files
Badblocks is running on 2x 10 Tb and a 8Tb come tomorow. long process !
I will put
1x 10 Tb for parity
1x 10 Tb for data
1x 8 Tb for data
1x 4 Tb from my old nas but disk from last year
1x 4 Tb from my old nas but disk from last yearI have 5 x 4Tb on my old nas but I see max data disk for 1 parity disk is 4 data disk.
I must buy another 10Tb for double parity and go for more data disk.Next week I will can play
-
Hi all
plan to change my NAS
Currently I have a raid 5 on OMV 4.
The lack of space in my current nas pushed me to invest in a supermicro SC836.
I want to use mergerfs + snapraid to make evolution easier.I have some questions about this:
how much space did you leave in the mergerfs settings (4G by default)?
I see that the cache on the disks is not enabled by default in OMV, should it but like it or should it activate?
I also saw that directories disappear in the sharefolders, what is the best thing to do to avoid this.
All your advice is good to take!
ps : I understand how work snapraid.
Thank you
-
I run Sabnzbd with Docker.
All work nice.
But I see we can test System performance (Pystone) and Download folder speed / Complete folder speed.I have 50 MB result for Download folder speed / Complete folder speed.
it is a very low result compared to the speed of my raid. The folder is on my raid.
It's not a problem because I don't have the fiber, just a poor 100Mb LTE connexion
i have low cpu athlon X2 250 perhaps the result of the download folder speed take care of the cpu ?
If you have some information about that I will read with pleasure. i'm a docker newbie !
-
I guess updating the kernel won't help since you are using the latest.
Hi Ryecoaaron
I just comeback with some information, Hdparm can use --offset
look at that !
without offset :
Codehdparm -t --direct /dev/sda /dev/sda: Timing O_DIRECT disk reads: 290 MB in 3.01 seconds = 96.42 MB/sec
with an offset of 1G :
Codehdparm -t --direct --offset 1 /dev/sda /dev/sda: Timing O_DIRECT disk reads (offset 1 GB): 380 MB in 3.07 seconds = 123.63 MB/sec root@nas:~# hdparm -t --direct --offset 100 /dev/sda
and with an offset of 100GCodehdparm -t --direct --offset 100 /dev/sda /dev/sda: Timing O_DIRECT disk reads (offset 100 GB): 664 MB in 3.00 seconds = 221.13 MB/sec root@nas:~#
In my test I can see good speed start at 2G offset.It's strange because it's an SSD and I can read :
--offset Offsets to given number of GiB (1024*1024*1024) when performing -t timings of device reads. Speed changes (about twice) along many mechanical drives. Usually the maximum is at the beginning, but not always. Solid-state drives (SSDs) should show similar timings regardless of offset.
I add this :
Code
Alles anzeigenfdisk -l /dev/sda Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xdb978318 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 461002751 461000704 219,8G 83 Linux /dev/sda2 461004798 468860927 7856130 3,8G 5 Extended /dev/sda5 461004800 468860927 7856128 3,8G 82 Linux swap / Solaris
-
What version of OMV? What kernel?
cat /proc/version
Linux version 4.18.0-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13)OMV : 4.1.13-1
-
I swap the ssd with a HDD
All port is now on ahcibut bad performance
this ssd is a PNY CS900 240GB SSD capable of sata 6 Gb/s but my Mb is just 3 Gb/s
I don"t see new firmware ...Code
Alles anzeigen=== START OF INFORMATION SECTION === Device Model: PNY CS900 240GB SSD Serial Number: PNY11182241350201421 LU WWN Device Id: 5 f8db4c 111801421 Firmware Version: CS900612 User Capacity: 240 057 409 536 bytes [240 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: Unknown(0x0ff8) (minor revision not indicated) SATA Version is: SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Wed Nov 7 02:55:43 2018 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
I try some test on other disk
sda : ssd
sdb; hdd
mdo : raid5 ( 5x hdd )Code
Alles anzeigen/dev/sda: Timing buffered disk reads: 238 MB in 3.06 seconds = 77.78 MB/sec root@nas:~# hdparm -t /dev/sdb /dev/sdb: Timing buffered disk reads: 572 MB in 3.01 seconds = 190.13 MB/sec root@nas:~# hdparm -t /dev/md0 /dev/md0: Timing buffered disk reads: 2018 MB in 3.00 seconds = 672.47 MB/sec root@nas:~#
mb ; M5A78L-M LX
-
Yes and it is a much better option.
I try to put ahci in my bios but when I do it I can't see the ssd.
But I don't think this is the problem because the kernel take lead when debian boot.
hum I will dig because I see 2 stanges thing : pata_atiixp
Code
Alles anzeigendmesg | grep scsi [ 2.110061] scsi host0: pata_atiixp [ 2.110187] scsi host1: ahci [ 2.110297] scsi host2: pata_atiixp [ 2.110613] scsi host3: ahci [ 2.110761] scsi host4: ahci [ 2.110885] scsi host5: ahci [ 2.292452] scsi 2:0:0:0: Direct-Access ATA ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5 [ 2.292629] scsi 2:0:1:0: Direct-Access ATA PNY CS900 240GB 0612 PQ: 0 ANSI: 5 [ 2.591493] scsi 1:0:0:0: Direct-Access ATA ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5 [ 2.592193] scsi 3:0:0:0: Direct-Access ATA ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5 [ 2.592753] scsi 4:0:0:0: Direct-Access ATA ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5 [ 2.605582] scsi 5:0:0:0: Direct-Access ATA ST4000VN008-2DR1 SC60 PQ: 0 ANSI: 5 [ 5.416477] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 5.416514] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 5.416540] sd 1:0:0:0: Attached scsi generic sg2 type 0 [ 5.416567] sd 3:0:0:0: Attached scsi generic sg3 type 0 [ 5.416592] sd 4:0:0:0: Attached scsi generic sg4 type 0 [ 5.416615] sd 5:0:0:0: Attached scsi generic sg5 type 0
strange I have just one sata controller on my MB I have 5x same seagate hdd and 1 ssd and i can see 2 'link' are in udma5 :
Codesudo hdparm -I /dev/sd{a,b,c,d,e,f} | grep -i udma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
hum waht 2 sata share an ATA ! like old ide device ! I will look in mobo option soon :
Codels -l /sys/block/sd* | sed -e 's@.*-> \.\..*/ata@/ata@' -e 's@/host@ @' -e 's@/target.*/@ @' /ata2 2 sda /ata2 2 sdb /ata3 1 sdc /ata4 3 sdd /ata5 4 sde /ata6 5 sdf
ok I see on a bios " if you want boot on the 5 or 6 port sata" use ahci mode.
the boot drive with OMV is on 6
when I put ahci on port 5 and 6 the SSD drive is not listed in boot drive.I will change the sata port for the ssd to try.
Do you know If I can change sata port drive without problem ?
-
Hi all
I just test speed of my disk and see SSD is slow.
sdf is a SSD
sde is a HDDresult for sdf :
Code~# hdparm -t /dev/sdf /dev/sdf: Timing buffered disk reads: 236 MB in 3.08 seconds = 76.69 MB/sec root@nas:~# sudo hdparm -Tt /dev/sdf
result for sde :
Codehdparm -t /dev/sde /dev/sde: Timing buffered disk reads: 544 MB in 3.01 seconds = 180.73 MB/sec
I dig a little and see that : SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
Do you kow if I can safely change IDE mode to AHCI in the bios ?Code
Alles anzeigensudo lshw -class storage *-storage description: SATA controller produit: SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] fabriquant: Advanced Micro Devices, Inc. [AMD/ATI] identifiant matériel: 11 information bus: pci@0000:00:11.0 version: 00 bits: 32 bits horloge: 66MHz fonctionnalités: storage pm ahci_1.0 bus_master cap_list configuration: driver=ahci latency=64 ressources: irq:22 portE/S:c000(taille=8) portE/S:b000(taille=4) portE/S:a000(taille=8) portE/S:9000(taille=4) portE/S:8000(taille=16) mémoire:fe9ffc00-fe9fffff *-ide description: IDE interface produit: SB7x0/SB8x0/SB9x0 IDE Controller fabriquant: Advanced Micro Devices, Inc. [AMD/ATI] identifiant matériel: 14.1 information bus: pci@0000:00:14.1 version: 00 bits: 32 bits horloge: 66MHz fonctionnalités: ide msi bus_master cap_list configuration: driver=pata_atiixp latency=64 ressources: irq:16 portE/S:1f0(taille=8) portE/S:3f6 portE/S:170(taille=8) portE/S:376 portE/S:ff00(taille=16) *-scsi:0 identifiant matériel: 1 nom logique: scsi0 fonctionnalités: emulated *-scsi:1 identifiant matériel: 2 nom logique: scsi1 fonctionnalités: emulated *-scsi:2 identifiant matériel: 3 nom logique: scsi2 fonctionnalités: emulated *-scsi:3 identifiant matériel: 5 nom logique: scsi3 fonctionnalités: emulated *-scsi:4 identifiant matériel: 6 nom logique: scsi5 fonctionnalités: emulated
thanks to all for your helpresult of dmesg | grep -i ahci
Code
Alles anzeigendmesg | grep -i ahci [470817.561873] ahci 0000:00:11.0: set SATA to AHCI mode [477480.255258] ahci 0000:00:11.0: set SATA to AHCI mode [489237.660070] ahci 0000:00:11.0: set SATA to AHCI mode [511057.668396] ahci 0000:00:11.0: set SATA to AHCI mode [525487.660338] ahci 0000:00:11.0: set SATA to AHCI mode [541364.441332] ahci 0000:00:11.0: set SATA to AHCI mode [551092.577111] ahci 0000:00:11.0: set SATA to AHCI mode [582285.990098] ahci 0000:00:11.0: set SATA to AHCI mode [595459.049745] ahci 0000:00:11.0: set SATA to AHCI mode [601085.086233] ahci 0000:00:11.0: set SATA to AHCI mode [609550.734701] ahci 0000:00:11.0: set SATA to AHCI mode [610619.111450] ahci 0000:00:11.0: set SATA to AHCI mode [626288.921019] ahci 0000:00:11.0: set SATA to AHCI mode [634393.945022] ahci 0000:00:11.0: set SATA to AHCI mode [656559.169600] ahci 0000:00:11.0: set SATA to AHCI mode [659076.270072] ahci 0000:00:11.0: set SATA to AHCI mode [663963.471605] ahci 0000:00:11.0: set SATA to AHCI mode [665031.678546] ahci 0000:00:11.0: set SATA to AHCI mode [677296.827650] ahci 0000:00:11.0: set SATA to AHCI mode [692270.178998] ahci 0000:00:11.0: set SATA to AHCI mode [698572.403725] ahci 0000:00:11.0: set SATA to AHCI mode [701984.220831] ahci 0000:00:11.0: set SATA to AHCI mode [725414.369805] ahci 0000:00:11.0: set SATA to AHCI mode [732275.255274] ahci 0000:00:11.0: set SATA to AHCI mode