Andrea Beni's Weblog

fra tecnologia e fantascienza…

Re-sizing Virtual Disks

from “vShpere-land”:

There are several methods to re-sizing virtual disks listed below. If you want to shrink the disk in ESX3 then using VMmware Converter is the best way to do this, you can no longer use vmkfstools to shrink a disk in ESX3, you can also try using QpartEd to shrink a disk. With all these methods you should make a backup copy of your original vmdk file in case something goes wrong. Also make sure you shutdown the OS cleanly before restarting the VM (GpartEd will sometimes fail otherwise). Methods 1, 4 & 5 are essentially the same using Linux boot CD’s and either GpartEd or QpartEd.

You can also check out my articles I wrote on this that use the methods below:

Method 1 – Using vmkfstools and GParted to extend a disk

  1. Download the GParted Live CD ISO and make it available so it can be mounted by the virtual machine’s CD-ROM
  2. Shutdown the virtual machine you want to resize
  3. Log into the ESX Server console via Putty
  4. Type “vmkfstools -X /vmfs/volumes/<volume name>/<VM directory name>/<virtual disk file name>” ie. /vmfs/volumes/Storage1/my_vm.vmdk. New disk size can be specified in kilo, mega or gigabytes and will be the total size of the new disk. So if you want to increase a virtual disk from 20GB to 24GB you would specify either 24000m or 24g
  5. Power on the Virtual Machine and make sure it boots properly, load Disk Management and you will see the new unallocated space
  6. Now to join the unallocated space to the primary partition, first shutdown the Virtual Machine
  7. Connect the Virtual Machine to the GParted ISO file and make sure you enable Connected at Power On
  8. Power on the Virtual Machine
  9. Press ESC at the Bios screen to get to the Boot Menu
  10. Select CD-ROM as the Boot device
  11. Gnome Partition Editor will load, press Enter at the boot screen
  12. At the Boot option screen select Manual Video Card and then select Done
  13. Select US English at the Language screen
  14. Select qwerty/us.map at the Keyboard screen
  15. Select Generic VESA Compatiable at the Video Driver screen
  16. Select 8 at the Display Depth screen
  17. Select 1024×768 at the Resolution screen
  18. Once the partition editor loads, click on /dev/sda1 in the partition list
  19. Click the Resize/Move button
  20. Click and drag the arrow to extend the size of the partition, make sure you do a resize (double arrow) and not a move (four way arrow) so you should 0 free space preceding and following and then click the Resize/Move button
  21. Next click the Apply button and then the operation will start, you can expand Details to see the progress, once completed click the Close button
  22. Click the power button in the bottom right corner, then select reboot
  23. Edit the VM and remove the ISO from the CD/ROM device (change to Client)
  24. When the server restarts it will do a Check Disk, let this complete, Windows will prompt for a reboot after you login
  25. Reboot and load Disk Management and your Primary Partion will be the new size without any unallocated space

Method 2 – Using VMware Converter to shrink or extend a disk

When you use Converter to copy a VM it will transfer the data to the destination server by one of two ways. If you do not change the disk size or increase the size of your original disks then it does a block level clone of the drive. If you reduce the size of your original disks it instead does a file level clone of the drive.

  1. Download Converter and install it on the VM that you want to resize the drives, reboot after the install completes
  2. Start Converter application, click the Import Machine button
  3. Click Next at the Welcome screen and then Next again at the Source screen
  4. Select ‘Physical Computer’ and click Next o Select “This Local Machine” and click Next
  5. At the Source Data screen select your volumes and change “Maintain Size” to “Type Size in GB” and enter your new disk size and click Next
  6. At the Destination screen click Next
  7. Select “Import this machine to a Vmware ESX Server or VirtualCenter virtual machine” and click Next
  8. At the Destination login screen, select your ESX/VC server and enter the login information and click Next
  9. At the Virtual Machine Name and Folder screen enter a new name for your VM and select a folder and click Next
  10. At the Host or Cluster screen select a host for your destination and click Next
  11. At the Datastore screen, select a datastore and click Next
  12. At the Networks screen, configure your NICs and click Next
  13. At the Customization screen, click Next
  14. Click Finish and the conversion will begin
  15. Once the Conversion is complete, edit the new VM settings and remove any extra hardware that Converter adds (USB/serial/parallel ports, etc.)
  16. Shutdown your original source VM and power on your new destination VM
  17. Make sure everything is functioning properly on the new VM and you can delete the original VM

Method 3 – Using vmkfstools and another Windows virtual machine to extend a disk

  1. Shutdown the virtual machine you want to resize
  2. Log into the ESX Server console via Putty
  3. Type ”vmkfstools -X /vmfs/volumes/<volume name>/<VM directory name>/<virtual disk file name>” ie. /vmfs/volumes/Storage1/my_vm.vmdk. New disk size can be specified in kilo, mega or gigabytes and will be the total size of the new disk. So if you want to increase a virtual disk from 20GB to 24GB you would specify either 24000m or 24g
  4. Shutdown the second helper virtual machine
  5. Edit the settings of the second VM and add the hard disk from the first VM
  6. Power on the second VM and load the Disk Management snap-in and verify that the disk from the first VM has un-allocated space on it
  7. Select Start, Run and enter diskpart.exe
  8. The command ‘list volume’ will show you all volumes.
  9. Select your volume based on the results of the list volume command, ie. ‘select volume 1′
  10. Type the command ‘extend’ to extend the volume
  11. Check the Disk Management snap-in again and the volume should be extended with a larger capacity
  12. Shutdown the second VM and remove (not delete) the disk from it
  13. Power on your first VM and the new space should be there and ready to use

Method 4 – Using vmkfstools and System Rescue CD to extend a disk

  1. Download the System Rescue ISO and make it available so it can be mounted by the virtual machine’s CD-ROM
  2. Shutdown the virtual machine you want to resize
  3. Log into the ESX Server console via Putty
  4. Type “vmkfstools -X /vmfs/volumes/<volume name>/<VM directory name>/<virtual disk file name>” ie. /vmfs/volumes/Storage1/my_vm.vmdk. New disk size can be specified in kilo, mega or gigabytes and will be the total size of the new disk. So if you want to increase a virtual disk from 20GB to 24GB you would specify either 24000m or 24g
  5. Power on the Virtual Machine and make sure it boots properly, load Disk Management and you will see the new unallocated space
  6. Now to join the unallocated space to the primary partition, first shutdown the Virtual Machine
  7. Connect the Virtual Machine to the System Rescue ISO file and make sure you enable Connected at Power On
  8. Power on the Virtual Machine
  9. Press ESC at the Bios screen to get to the Boot Menu
  10. Select CD-ROM as the Boot device
  11. Press Enter at the boot screen
  12. Press Enter after boot sequence is complete and then type ‘startx’
  13. Once X-windows loads, double-click the GpartEd icon (drive icon, 3rd down on the right hand side)
  14. Once the partition editor loads, click on /dev/sda1 in the partition list
  15. Click the Resize/Move button
  16. Click and drag the arrow to extend the size of the partition, make sure you do a resize (double arrow) and not a move (four way arrow) so you should 0 free space preceding and following and then click the Resize/Move button
  17. Next click the Apply button and then the operation will start, you can expand Details to see the progress, once completed click the Close button
  18. Click the power button in the bottom right corner, then select reboot
  19. Edit the VM and remove the ISO from the CD/ROM device (change to Client)
  20. When the server restarts it will do a Check Disk, let this complete, Windows will prompt for a reboot after you login
  21. Reboot and load Disk Management and your Primary Partion will be the new size without any unallocated space

Method 5 – Using Knoppix Live CD with QtPartEd to shrink a disk

  1. Download the Knoppix Live CD ISO and make it available so it can be mounted by the virtual machine’s CD-ROM
  2. Shutdown the virtual machine you want to resize
  3. Add a second virtual disk of the new smaller desired size to the VM you want to resize
  4. Connect the Virtual Machine to the Knoppix Live CD ISO file and make sure you enable Connected at Power On
  5. Power on the Virtual Machine
  6. Press ESC at the Bios screen to get to the Boot Menu
  7. Select CD-ROM as the Boot device
  8. Press Enter at the boot screen
  9. Click on the K Menu icon and then select System and then QTPartEd
  10. Select your original drive (usually sda) and click on the partition 1
  11. Select Operations from the top menu and then Resize, resize the drive so it is just less then the new drives (sdb) capacity
  12. Select File from the top menu and then Commit, click Yes at the warning window
  13. Once complete, select Cancel if you get a unmounted hard disk window and then OK at the Progress window
  14. Open a Konsole window and type “dd if=/dev/sda of=/dev/sdb” This copy will take a long time and will not show a status while it is running. Yyou will get an insufficient space error at the end of the copy, this is normal because the drive you’re copying from is bigger then the destination. But as long as the partition is smaller, everything will work
  15. Shutdown the VM and edit the VM settings, remove the original C: drive and change the SCSI ID of the new drive to match the old one (usually 0:0)
  16. Power on the VM and it will run a Chkdsk and you will be all set

Method 6 – Use Ghost or another 3rd party imaging product to shrink a disk

  1. Shutdown the virtual machine you want to resize
  2. Add a second virtual disk of the new smaller desired size to the VM you want to resize o Use Ghost to clone the first disks partition to your second virtual disk
  3. Once complete make sure the second virtual disk is ‘Active’
  4. Switch your disks by editing the virtual machine settings and switching the SCSI id’s (0:0 and 0:1)
  5. If the virtual machine boots OK and you verify that everything works then shutdown the VM and remove the larger disk and delete it

Velnerabilità di IIS

Microsoft ha pubblicato un bolletino nel quale ha confermato una vulnerabilità in IIS versione 5.0 e 6.0.

La vulnerabilità riguarda il servizio di FTP, che nel caso in cui sia configurato per l’accesso anonino e scrittura in almeno una cartella può portare qualche malintenzionato a far girare del codice “pericoloso”.

La vulnerabilità non riguarda le versioni di IIS superiori alla 6.0

Il bollettino può essere consultato a questo link.

Sharepoint: how to increase the site template size

The default size of site template in Sharepoint is 10MB. If you want to save site template that have more size you must increase the maximum size by command line using:

stsadm -o setproperty -pn max-template-document-size -pv 20000000

(20000000 = 20MB)

How tov enable SSH and FTP on ESXi

VMware ESXi ships with the ability to run SSH, but the feature is disabled by default and not supported. Even FTP is disabled so you cannot upload images to the server for installation.

To enable SSH and FTP, you have to access the console. Obviously it is not intended by VMware to access the console as you would do in a regular Linux system. But, as always, there is a little magic to accomplish the aim.

At the console of the VMware ESXi host, press ALT+F1 to access the console window. Enter the word unsupported in the console and then press Enter. You will not see the text you type in.

If you typed in unsupported correctly, you can enter the password for the root login. You should then see the prompt ~ #.

To enable SSH and/or FTP, edit /etc/inetd.conf and remove the comments on #SSH and #FTP. Save the file and restart the server or inetd process.

Now you can access the host via SSH and/or FTP.

Upgrade a Windows 7

Dal 26 giugno 2009 gli utenti che acquisteranno un computer con Windows Vista Home Premium, Windows Vista Business o Windows Vista Ultimate preinstallato, potranno beneficiare dell’aggiornamento gratuito all’analoga edizione di Windows 7 al solo costo delle spese di spedizione. Dal sito di Windows 7 Upgrade Option, sarà possibile prenotare la propria copia del sistema operativo per riceverlo poco dopo il lancio del prossimo 22 ottobre.

La promozione terminerà il 31 dicembre 2010, coinvolgendo di fatto anche i computer che nel corso del prossimo anno saranno invendita con il vecchio Windows Vista.

Install and configure SQL Server 2008 Express

SQL 2008 Express is available free from Microsoft. It is a replacement for MSDE and SQL 2005 which will perform much better than its predecessors. SQL 2008 has no workload throttling like MSDE does and it supports up to 2 CPUs and 2GB RAM, where MSDE only supports 1 CPU and 1GB RAM.

If you are using MSDE and are considering managing more clients than you currently are, or are having problems with your Deployment Server or Notification Server running slowly even after optimizing your configuration, you will want to install SQL Server 2008 instead of MSDE.

SQL 2008 Express supports servicing SQL over your network and so it can be used for Deployment Server and Notification Server as long as you don’t have enough clients that you will need more than 2GB RAM. However, network is not enabled by default, so there is some configuration required to get SQL Server 2008 Express to work correctly.

This article will guide you through the process of installing and configuring SQL Server 2008 Express so that you can use it with Deployment Server or Notification Server.

Download SQL Server 2008 Express

First, you will need to download SQL Server 2008 Express. You have two options to download. You can either download SQL Server 2008 Express without any management tools (61 MB) from http://go.microsoft.com/?linkid=9314315 or you can download SQL Server 2008 Express with management tools (219 MB) from http://go.microsoft.com/?linkid=9394725

I recommend installing “SQL Server 2008 Express with Tools”, it is worth the extra 150 MB to be able to troubleshoot your SQL Server if anything ever goes wrong.

Install SQL Server 2008 Express

SQL Server 2008 Express requires .NET Framework 3.5 SP1, if your server does not have .NET Framework 3.5 SP1 you will need to download .NET Framework 3.5 SP1 and install it on your server. You can download .NET Framework 3.5 SP1 from http://go.microsoft.com/fwlink/?LinkId=120550

SQL Server 2008 Express requires Windows Installer 4.5, if your server does not have Windows Installer 4.5 you will need to download Windows Installer 4.5 and install it on your server. You can download Windows Installer 4.5 from http://go.microsoft.com/fwlink/?LinkId=123422

SQL Server 2008 Express requires Windows PowerShell 1.0, if your server does not have Windows PowerShell 1.0 you will need to download Windows PowerShell 1.0 and install it on your server. You can download Windows PowerShell 1.0 from http://go.microsoft.com/fwlink/?LinkId=120552

When you are ready to install SQL 2008 Express, follow these steps:

  1. Run SQLEXPRWT_x86_ENU.EXE (or SQLEXPRWT_x64_ENU) to install SQL 2008 Express.
  2. At the “SQL Server Installation Center”, choose “System Configuration Checker” to make sure you are ready to install SQL 2008 Express
  3. When the “System Configuration Checker” has validated that you are ready to install SQL 2008 Express, return to the “SQL Server Installation Center” and click on Installation.
  4. Select “New SQL Server stand-alone installation or add features to an existing installation”
  5. A setup support check will run. Make sure there are no errors or warnings, press OK.
  6. The “SQL Server 2008″ Setup will now appear, on the Product Key page, click Next.
  7. Check the box “I accept the license terms” and click Next.
  8. Click “Install” to install the Setup Support Files.
  9. When the Setup Support Files install is complete, click Next.
  10. You will now be in the “Feature Selection” page. Select “Database Engine Services” and “Management Tools – Basic” and then click Next.
  11. In the “Instance Configuration” page, specify MSSQLSERVER in both the “Named instance” and “Instance ID” fields, this will force SQL Server 2008 Express to install as the Default instance. If you want to install as a named instance, specify a name other than MSSQLSERVER.
  12. Click Next twice.
  13. You will now be in the “Server Configuration” page. Change the SQL Server Database Engine’s Account Name to “NT AUTHORITY\SYSTEM” and SQL Server Browser’s Startup Type to Automatic, then click Next.
  14. On the Database Engine Configuration page, you can either leave it configured to use Windows Authentication Mode only or Mixed Mode (SQL Server authentication and Windows authentication). I usually enable Mixed Mode so that if for some reason my security gets messed up I always have a backdoor account (the SA account). If you choose Mixed Mode, you will need to enter and confirm a password for the SA account.
  15. Before you can continue, you will need to specify the group(s) that you want to have unrestricted access to SQL Server. Click “Add…” and select the group(s). I recommend that you at least add Administrators and the “Current User” (Service Account). When you are done here, click Next three times, and then click Install.
  16. When the installer completes, click Next and then Close.

Enable TCP/IP

Now that SQL 2008 Express is installed, we need to configure the Network options that are disabled by default.

  1. In the Start Menu, open Programs > Microsoft SQL Server 2008 > Configuration Tools > SQL Server Surface Area Configuration
  2. In the Surface Area Configuration utility, click the link “SQL Server Configuration Manager”
  3. Expand “SQL Server Network Configuration” and select Protocols.
  4. Enable TCP/IP. If you need Named Pipes, then you can enable them here as well.
  5. Close the SQL Server Configuration Manager.

Add Firewall Exceptions

If you have a software firewall installed on your server, you will need to add exceptions for the SQL Server and SQL Browser services. If you are using Windows Firewall, do the following:

  1. In your Control Panel, open the Windows Firewall applet.
  2. Go to the Exceptions tab.
  3. Click Add Program
  4. Browse to and select “C:\Program Files\Microsoft SQL Server\MSSQL.10\MSSQL\Binn\sqlservr.exe”
  5. Click OK.
  6. Click Add Program
  7. Browse to and select “C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe”
  8. Click OK and then click OK again.

If you are using a third-party software firewall, you will need to follow their instructions to add exceptions to sqlservr.exe and sqlbrowser.exe.

Restart the Services or Reboot the Server

When you have completed all of these steps, you will need to restart the SQL Server and SQL Browser services to complete the process. If you still have problems, you may need to restart your server.

Sharepoint Services 3.0 con Search Server

Trovandomi a lavorare su Sharepoint Services 3.0 per la creazione di una web application per la gestione di numerosi documenti ho avuto l’esigenza di dover rendere disponibile un servizio di ricerca estremamente efficace che potesse effettuare ricerche “approfondite” sui singoli item  e documenti del sito.

Entrando nell’argomento “Search Server 2008″ (motore ideale per la ricerca), ho trovato la documentazione per l’upgrade dal motore di ricerca di Windows Sharepoint Service 3.0 a Search Server 2008. La difficoltà riscontrata nella creazione dell’ambiente è stata quella relativa a trovare le giuste caratteristiche necessarie per l’upgrade,  che sono:

  • Windows Sharepoint Services 3.0 SP1 (nel caso in cui si abbia la versione senza SP1 sarà richiesta all’utente l’installazione del service pack)
  • La corretta versione del language sia per WSS 3.0 che per il Search Server
  • SQL Server 2005 con SP2

Ad installazione avvenuta è possibile aggiungere alla web application una raccolta siti dal modello del Search, che consente all’utente una configurazione del servizio e caratteristiche avanzate pari a quelle di un ambiente MOSS.

L’articolo completo è consultabile qui.

Pesce d’Aprile 2009: attenti al virus!

(tratto da WinTricks.t)

Sono circa 15 milioni i computer con sistema operativo Ms Windows infetto dalla terza edizione del celebre worm conosciuto come Conficker, il cui debutto è previsto il primo d’aprile, giornata tradizionlmente dedicata agli scherzetti.

Al momento non si sa esattamente che cosa abbia in piano il worm, motivo che accresce ancora più i timori verso questa minaccia. Si suppone che i PC infetti verranno utilizzati per inviare spam, partecipare ad attacchi coordinati a siti internet o trafugare dati personali.

Nonostante le casi produttrici di antivirus cerchino di affievolire i rumors emersi sul web negli ultimi giorni non possiamo che consigliare di tenere aggiornato il proprio antivirus e scaricare la patch distribuita da Microsoft che fino al 23 ottobre è stata installata nei pc non infetti tramite Windows Update.

Download di Windows7

 

Dopo la pubblicazione della versione “beta 1″ di Windows 7, Microsoft è stata costretta a sospenderne il download a causa dell’enorme traffico generato sui propri server. Nel corso del fine settimana, la società di Redmond ha ripristinato la possibilità di scaricare la beta del nuovo sistema operativo riattivando questa pagina.
Per procedere al download, è sufficiente scorrere la pagina web quindi selezionare la versione d’interesse (a 32 o 64 bit) e la lingua (l’italiano non è disponibile). Requisito essenziale è l’attivazione (qualora non se ne possegga già uno) di un account Windows Live ID, utilizzabile – ad esempio – per accedere ai servizi Live di Microsoft.
Dopo aver operato il login, la procedura proporrà un “Product key” da utilizzare in fase d’installazione della beta di Windows 7 ed il link per avviare il download del prodotto. L’immagine .ISO che verrà prelevata pesa all’incirca 2,4 GB e deve essere necessariamente masterizzata, quindi, su un supporto DVD.

Nelle scorse ore Microsoft si è affrettata a rilasciare una patch a correzione di un problema rilevato in Windows 7 e che può danneggiare i file MP3 memorizzati sul sistema. La corruzione dei file MP3 può verificarsi, secondo quanto riportato, nel momento in cui l’utente provi ad editare i metadati attraverso Windows Media Player o la shell di Windows 7. Analogo problema può accadere qualora Windows Media Player sia configurato in modo tale da compilare automaticamente i campi dei metadati del file MP3 attingendo alle risorse disponibili in Rete. In questo caso, l’inizio del file MP3 viene danneggiato rendendolo di fatto non può riproducibile. La patch KB961367 è già disponibile in questa pagina.

Ricordiamo che il download della versione “beta 1″ di Windows 7 è limitato e resterà disponibile, presumibilmente, soltanto per alcuni giorni.

CloneZilla: backup del disco

Clonezilla è un software opensource che si propone come valida alternativa nell’ambito delle utilità per il “disk imaging” ossia per la creazione di file d’immagine che raccolgono informazioni sull’intero contenuto del disco fisso oppure di singole partizioni.

Il momento migliore per richiedere la generazione di un file d’immagine del contenuto dell’hard disk è, ad esempio, quello successivo alla corretta installazione del sistema operativo e di tutte le applicazioni preferite. Una volta configurato il personal computer secondo le proprie esigenze, nel caso in cui, in futuro, questo dovesse evidenziare malfunzionamenti o rallentamenti, si potrà agevolmente riportarlo allo stato immediatamente successivo all’installazione.

Clonezilla supporta un ampio numero di file system (ext2, ext3, xfs, FAT, NTFS, HFS+,…) tanto da proporsi come unica soluzione per il disk imaging di unità disco sulle quali sia stato installato Linux, Windows oppure Mac. Il software “registra” poi solamente i blocchi di dati effettivamente utilizzati sul disco in modo da rendere gli archivi di backup più compatti e snellire le operazioni di creazione dell’immagine e di ripristino.

L’utility opensource viene distribuita in due differenti versioni: Live e Server Edition. La prima è concepita per gli utenti domestici o per le realtà aziendali di piccole dimensioni; la seconda, invece, dà modo di gestire procedure di backup e ripristino centralizzato, attraverso la rete locale, di più computer.

Per utilizzare Clonezilla è sufficiente procedere al download del file ISO del programma. Questo dovrà poi essere masterizzato su supporto CD ROM che, lasciato inserito nel lettore all’avvio del personal computer, consentirà di avviare l’utilità. Affinché Clonezilla venga avviato da CD ROM al boot del sistema, è indispensabile controllare che nel BIOS sia impostata la corretta sequenza di avvio (il CD ROM deve essere la prima periferica ad essere avviata, altrimenti verrà regolarmente eseguito, dal disco fisso, il sistema oeprativo installato).

Il menù di avvio di Clonezilla permette di scegliere la risoluzione grafica da utilizzare. 

L’opzione To RAM, boot media can be removed later consente eventualmente di copiare tutti i file necessari per il funzionamento del programma nella memoria RAM in modo tale che successivamente sia possibile rimuovere il CD di boot.

Una volta confermata la propria scelta premendo il tasto Invio, Clonezilla caricherà i file necessari quindi permetterà di scegliere la lingua preferita (al momento il software non è disponibile in lingua italiana).

Il layout di tastiera predefinito è quello statunitense. Utilizzando una tastiera italiana, basta selezionare la voce Select keymap from full list quindi selezionare la tastiera italiana più adatta (in genere, pc / qwerty / Italian / Standard / Standard).

 

 
Alla comparsa della successiva schermata, è sufficiente premere Invio in modo da selezionareStart Clonezilla.

Le alternative offerte dal programma di “disk imaging” sono due: è possibile, in primo luogo, salvare il contenuto di un disco o di una singola partizione all’interno di un file d’immagine, ripristinabile successivamente. In alternativa, Clonezilla consente di “clonare” interamente un disco od una partizione verso un’altra unità. 

Nel caso in cui si opti per la prima voce (creazione di un file d’immagine), Clonezilla richiede di indicare dove si intende memorizzare il file di backup. Local_dev può essere scelto per salvare il file d’immagine in una cartella qualsiasi su disco fisso oppure su un’unità di memorizzazione esterna.

Nel caso in cui si intenda memorizzare il file d’immagine su un’unità esterna USB, si dovrà provvedere a connetterla non appena Clonezilla mostrerà il messaggio, di colore giallo, “If you want to use USB device as Clonezilla image repository, please insert USB devide into this machine now”. Dopo aver atteso almeno cinque secondi, è sufficiente premere il tasto Invio per proseguire.

Attraverso la finestra successiva, si dovrà selezionare unicamente l’unità da impiegare per la memorizzazione del file d’immagine generato. Come spiega chiaramente Clonezilla, non deve essere assolutamente indicata l’unità il cui contenuto è oggetto della creazione dell’archivio di backup.

I vari comandi savedisk e restoredisk permetteranno di creare un file d’immagine o di ripristinarne il contenuto di un intero disco fisso. Le voci saveparts e restoreparts permettono invece di operare su singole partizioni.

Le successive schermate presentano una serie di opzioni che permettono di scegliere quali programmi usare per il disk imaging (di default vengono presentati ntfsclone – partimage – dd), se attendere la conferma manuale dell’utente prima di avviare l’operazione di copia dei file (client waits for confirmation before cloning) e così via. Interessante l’opzione (Remove page and hibernation files in Win if exists) che si occupa di rimuovere automaticamente dal file d’immagine il file di paging di Windows e quello impiegato per l’ibernazione del sistema.
Mediante le schermate seguenti, si ha modo di scegliere il livello di compressione del file di backup e di specificare se spezzare automaticamente il file d’immagine in più parti. Digitando 0 il file risultante non sarà suddiviso in più porzioni altrimenti verranno create più parti, sotto forma di singoli file, della dimensione massima (in MB) specificata.

Come ultimo passo, verrà richiesto il nome da assegnare alla cartella contenente il file d’immagine e l’unità oggetto del backup. Ecco come si presenta la cartella contenente il file d’immagine prodotto con Clonezilla:

 

 
 

 

 
La procedura per l’eventuale ripristino del contenuto del file d’immagine è pressoché identica. Sarà sufficiente solamente scegliere restoredisk alla comparsa della finestra Choose the mode.

In definitiva, Clonezilla si rivela un programma molto versatile grazie alla sua abilità di leggere e ripristinare il contenuto di dischi e partizioni formattati con i file system più disparati. L’assenza di un’interfaccia grafica e l’indisponibilità di una versione in italiano potrebbero tuttavia causare difficoltà agli utenti meno esperti.
Basato su Debian Linux, Clonezilla è un prodotto opensource da considersi appannaggio degli utenti più smaliziati.
Tra i “contro”, sebbene sia un software funzionante interamente da CD ROM (“Live CD”) e sia capace di supportare qualunque periferica di memorizzazione USB, manca ancora all’appello una funzionalità che permetta di scrivere i file d’immagine direttamente su supporto CD o DVD utilizzando il masterizzatore.

 Tante informazioni sugli altri software (ad esempio, DriveImage XML, Macrium Reflect, Acronis TrueImage, Norton Ghost,…) e sulle metodologie per il “disk imaging” sono consultabili facendo riferimento a questi articoli.

Pro:
- Software opensource
- Disponibilità sotto forma di “Live CD” avviabile all’accensione del personal computer
- Supporto di molteplici file system
- Funzionalità che permettono di creare file d’immagine e clonare il contenuto di dischi e singole partizioni
- Supporto diretto per le periferiche di memorizzazione USB

Contro:
- Ostico per gli utenti meno esperti
- Mancanza di un’interfaccia grafica
- Non disponibile in italiano
- Impossibile scrivere direttamente su supporti CD/DVD

Post precedenti »