2 and more discs include ssd
2 and more discs include ssd
Hello,
I want to ask if OPSI can recognize SSD drive, preferably a priority to set the system partition on it. So far, it occurred to me only in the "setup.py" sort array of disks: getHarddisks disks = () to put the SSD in the first place, the rest of the disk behind it. But I fear that if I modify the file, after furter OPSI updating I lose my edits which could be a big problem.
Any suggestions what is the best way to solve this?
Regards
Martin Lebeda
I want to ask if OPSI can recognize SSD drive, preferably a priority to set the system partition on it. So far, it occurred to me only in the "setup.py" sort array of disks: getHarddisks disks = () to put the SSD in the first place, the rest of the disk behind it. But I fear that if I modify the file, after furter OPSI updating I lose my edits which could be a big problem.
Any suggestions what is the best way to solve this?
Regards
Martin Lebeda
Re: 2 and more discs include ssd
Hi,
without looking at the code i supose that 'disks' have out of the box no information if a disk is SSD or not.
So I think the first thing we need is a command line command which tells us this disk is a SSD or not.
If there is such a command and is part of our bootimage it would be not too much work.
If not we need at first a new bootimage (with this command) and perhaps an extension of the disk structure in the opsi python library.
regards
d.oertel
without looking at the code i supose that 'disks' have out of the box no information if a disk is SSD or not.
So I think the first thing we need is a command line command which tells us this disk is a SSD or not.
If there is such a command and is part of our bootimage it would be not too much work.
If not we need at first a new bootimage (with this command) and perhaps an extension of the disk structure in the opsi python library.
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: 2 and more discs include ssd
Hello,
in links to diff files (patches) that should be enough to prioritize SSD drive are here:
http://dior.ics.muni.cz/~mlebeda/Posix.py.diff
http://dior.ics.muni.cz/~mlebeda/setup.py.diff
Unfortunately, we were not able to integrate file Posix.py into miniroot.bz2 because a known bug:
Please sent me guide how to make your own miniroot for later testing, so that the kernel not report errors mentioned above. The parameter ramdisk_size did not help.
p.s.:
Do you want to do script for SSD installation TRIM erase? First write is much faster.
Regards
Martin Lebeda
in links to diff files (patches) that should be enough to prioritize SSD drive are here:
http://dior.ics.muni.cz/~mlebeda/Posix.py.diff
http://dior.ics.muni.cz/~mlebeda/setup.py.diff
Unfortunately, we were not able to integrate file Posix.py into miniroot.bz2 because a known bug:
Code: Alles auswählen
RAMDISK: incomplete write (-28! = 4096)
Compressed file ends unexpectedly
p.s.:
Do you want to do script for SSD installation TRIM erase? First write is much faster.
Regards
Martin Lebeda
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: 2 and more discs include ssd
Hello Mr. Lebeda,
thank you for your suggestions and patches.
I opened tickets in our internal bugtracker so that preferred usage of an SSD may become a feature in future versions.
Kind regards
Niko Wenselowski
thank you for your suggestions and patches.
I opened tickets in our internal bugtracker so that preferred usage of an SSD may become a feature in future versions.
Kind regards
Niko Wenselowski
Code: Alles auswählen
import OPSI
Re: 2 and more discs include ssd
Hello,
any news on the SSD (choose first with installation) and the possibility not to delete the data partition after reinstallation netboot OS? This functionality is essential for us.If it's in a test could you post link with .opsi package. I can help with testing.
Regards
Martin Lebeda
any news on the SSD (choose first with installation) and the possibility not to delete the data partition after reinstallation netboot OS? This functionality is essential for us.If it's in a test could you post link with .opsi package. I can help with testing.
Regards
Martin Lebeda
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: 2 and more discs include ssd
Hello mlebeda,
unfortunately we we're not yet able to include this into one of our products.
We will come back to you when we have a package for that.
Kind regards
N. Wenselowski
unfortunately we we're not yet able to include this into one of our products.
We will come back to you when we have a package for that.
Kind regards
N. Wenselowski
Code: Alles auswählen
import OPSI
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: 2 and more discs include ssd
Hello mlebeda,
just wanted to let you know the rotational attribute on the Harddisk class will be implemented in python-opsi 4.0.4.2.
Any bootimage build with that version will include that feature.
Kind regards
N. Wenselowski
just wanted to let you know the rotational attribute on the Harddisk class will be implemented in python-opsi 4.0.4.2.
Any bootimage build with that version will include that feature.
Kind regards
N. Wenselowski
Code: Alles auswählen
import OPSI
Re: 2 and more discs include ssd
Hello N. Wenselowski,
thank you very much for the information. I appreciate your efforts.
Regards
Martin Lebeda
thank you very much for the information. I appreciate your efforts.
Regards
Martin Lebeda
Re: 2 and more discs include ssd
Hello,
updated to testing python-opsi_4.0.4.2-1_all.deb and opsi-linux-bootimage_20131121-1_all.deb and still nio rotational check. Just want to ask, if are there some problems with code and want any help?
Regards
Martin Lebeda
updated to testing python-opsi_4.0.4.2-1_all.deb and opsi-linux-bootimage_20131121-1_all.deb and still nio rotational check. Just want to ask, if are there some problems with code and want any help?
Regards
Martin Lebeda
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: 2 and more discs include ssd
Hello Martin,
I am not sure if python-opsi 4.0.4.2 is yet included in that version of the opsi-linux-bootimage.
Because of this bug in opsi-linux-bootimage 20131121-1 we are currently preparing another release of the bootimage. My check with current development version indicates that this includes python-opsi in 4.0.4.2 with the rotational attribute at the Harddisk.
Kind regards
Niko
I am not sure if python-opsi 4.0.4.2 is yet included in that version of the opsi-linux-bootimage.
Because of this bug in opsi-linux-bootimage 20131121-1 we are currently preparing another release of the bootimage. My check with current development version indicates that this includes python-opsi in 4.0.4.2 with the rotational attribute at the Harddisk.
Kind regards
Niko
Code: Alles auswählen
import OPSI