Współptaca Optimy z CDNXL jak wyłączyć
W momencie próby wyłączenia Współpracy z systemem Comarch ERP XL dostajemy komunikat:
Baza danych Comarch ERP XL w wersji 2017.0 lub wyższej. Ustawienia synchronizacji z taką bazą danych można dokonać jedynie w systemie Comarch ERP XL.
Problem występuje wtedy gdy tworzymy kopie bazy i baza ta ma włączona synchronizację co może spowodwać problemy
parametr współpracy można usunąć poprzez wykonanie poniższego update od strony MSSQL na wskazanej bazie Optimy:
update [CDN].[CfgWartosci] set [CFW_Wartosc] = ' ' from [CDN].[CfgWartosci] join [CDN].[CfgKlucze] on [CFK_CfkId] = [CFW_CfkId] where [CFK_Nazwa] = 'Współpraca z XL'
Od strony Optimy wyłączenie tego paramteru jest to niemożliwe.
Zarządzanie dyskami w Linuksie
Dostęp do urządzeń w systemie Linux realizowany jest poprzez pliki. Wysłanie danych poprzez port szeregowy odbywa się z poziomu systemu poprzez zapis do pliku specjalnego reprezentującego dany port. To samo dotyczy dysków oraz utworzonych partycji. Pliki specjalne reprezentujące poszczególne urządzenia znajdują się w katalogu /dev.
W tym artykule zajmiemy się dyskami: sda, sdb oraz wszystkie nazwy rozpoczynające się od sda, sdb. Najnowsze wersje jądra systemu Linux przedstawiają zamontowane w systemie komputerowym dyski jako pliki sdx, gdzie x zastępowane jest kolejnymi literami: a – pierwsze urządzenie sata, b- drugie urządzenie sata, c- trzecie urządzenie sata. Dodatkowo do listy „urządzeń sata” zaliczono urządzenia podłączone poprzez interfejs USB (np. pendrive). W starszych komputerach, gdzie występują jeszcze dyski ATA oznaczane one są jako: hda- master na pierwszej taśmie, hdb – slave na pierwszej taśmie
Najczęściej używanym poleceniem do analizy dysków jest fdisk. Jest to program obsługiwany z konsoli. Jego uruchomienie nastąpi po podaniu polecenia:
fdisk /dev/sda
Po wydaniu polecenia „p” otrzymujemy listę utworzonych na dysku partycji
Uruchomienie programy cfdisk umożliwia polecenie:
cdisk /dev/sda - cfdisk, to program intuicyjny, który udostępnia te same opcje co fdisk.
Podstawowym poleceniem umożliwiającym formatowanie partycji jest mkfs. W celu sformatowania partycji należy wykonać polecenie:
mkfs -t nazwa_systemu_plików /dev/nazwa_partycji
np.
mkfs -t ext4 /dev/sda1
W celu zainstalowania nowej partycji lub dodanie urządzenia w istniejącym systemie plików należy wykonać polecenie:
mount -t system_plików /dev/numer_partycji /katalog_do_zamontowania
mount -t vfat /dev/sdb1 /mnt/pendrive
the most popular partition editors for Linux
1 Gparted
2 gnome disks
3 KDE Partition Manager
4 Fdisk
5 cfdisk
6 GNU Parted
7 Qtparted
1.GParted is a partition editor for the GNOME desktop environment. This application is used to create, delete, resize, inspect and copy partitions, as well as the file systems found on them. This is useful to create space for new operating systems, rearrange disk usage and create disk images on a partition.
2.What Gnome Disks is a graphical front-end of udisks included in the gnome-disk-utility package this is another partition editor that belongs to the Gnome project.
3.KDE Partition Manager This is a partition editor, which makes use of the GNU Parted library, to allow the user to manage partitions, of which the tasks it allows to perform we find the following:
Create, delete, check, resize and copy partitions and the file systems on them.
4.Fdisk
This is another of the many most popular partition managers in Linux, Fdisk is included in most Linux distributions and it is usually the tool of this type most used by users.
Fdisk allows the user to do what any partition manager can do, what makes Fdisk special is that it is not an exclusive tool for Linux, but it is cross-platform.
5. Cfdisk - a partition editor similar to fdisk, since its use is also through the command line, but with a different interface than fdisk, cfdisk tries to read partition tables from disk, showing found ones.
6. GNU Parted Parted is a popular command line tool for managing hard disk partitions. It supports multiple partition table formats, including MS-DOS, GPT, BSD and many more. With it, you can add, delete, shrink and extend disk partitions along with the file systems located on them.
7. In addition, you can also use Qtparted, is a Partition Magic (proprietary software for Windows) clone and Qt front-end to GNU Parted. Note that it still in development and you may likely experience any kind of problem with latest release
creating a disk image
Creating a Disk Image
One of the way to clone a drive is to create a disk image that you can move around and restore as you would do with a bootable USB.
Creating image files allows you to save multiple backups to a single destination, such as a large portable hard drive. Again, this process only requires one command:
dd if=/dev/sdX of=path/to/your-backup.img
To save space, you can have dd compress your backup.
dd if=/dev/sdX | gzip -c > path/to/your-backup.img.gz
Restoring a Drive With dd
First command:
dd if=/dev/sdY of=/dev/sdX
When restoring from an image file, the same concept applies:
dd if=path/to/your-backup.img of=/dev/sdX
If your image file is compressed, then things get a little different. Use this command instead:
gunzip -c /path/to/your-backup.img.gz | dd of=/dev/sdX
To be clear, gunzip is "g unzip," as in the opposite of "g zip." This command decompresses your backup. Then dd replaces the existing drive with this image.
Parameters to Consider
You can alter your command by sticking a parameter at the end. By default, dd can take a while to transfer data. You can speed up the process by increasing the block size. Do so by adding bs= at the end.
dd if=/dev/sdX of=/dev/sdY bs=64
This example increases the default block size from 512 bytes to 64 kilobytes.
conv=noerror tells dd to continue despite any errors that occur. The default behavior is to stop, resulting in an incomplete file. Keep in mind that ignoring errors isn't always safe. The resulting file may be corrupted.
conv=sync adds input blocks with zeroes whenever there are any read errors. This way data offsets remain in sync.
You can combine these last two as conv=noerror,sync if you so desire. There is no space after the comma.





