Restoring a disk through DRBL live, the client gives error after the second partition.
The error is:
Finished restoring image 2015-09-07-09-Master160GB to /dev/sda2
Informing the OS of partition table changes.....blockdev: cannot open /dev/sda: No such file or directory
. done!
Preparing the next....
Restoring partition /dev/sda3...
mktemp: failed to create file via template 'tmp/parttable-ocs.XXXXXX': Read-only file system
/usr/share/drbl/sbin/ocs-functions: line 483: $partition_table: ambiguous redirect
After logging in to the client, I see the NFS connection is gone, and /dev only holds two entries. (console and null)
Contents of sda-pt.parted:
Model: ATA ST3160812AS (scsi)
Disk /dev/sda: 312497887s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2048s 5298175s 5296128s primary ntfs boot
2 5298176s 148658175s 143360000s primary ntfs
3 148658176s 292018175s 143360000s primary ntfs
4 292018176s 312496127s 20477952s primary ntfs
Could you give testing DRBL live 2.4.3-18 a try? http://drbl.org/download/
We spent a lot of time to avoid the /dev/ or /tmp missing on nfsroot environment with systemd issue, and it's fixed in DRBL live 2.4.3-18.
Please let us know the results.
Thanks.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Restoring a disk through DRBL live, the client gives error after the second partition.
The error is:
Finished restoring image 2015-09-07-09-Master160GB to /dev/sda2
Informing the OS of partition table changes.....blockdev: cannot open /dev/sda: No such file or directory
. done!
Preparing the next....
Restoring partition /dev/sda3...
mktemp: failed to create file via template 'tmp/parttable-ocs.XXXXXX': Read-only file system
/usr/share/drbl/sbin/ocs-functions: line 483: $partition_table: ambiguous redirect
After logging in to the client, I see the NFS connection is gone, and /dev only holds two entries. (console and null)
Contents of sda-pt.parted:
Model: ATA ST3160812AS (scsi)
Disk /dev/sda: 312497887s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2048s 5298175s 5296128s primary ntfs boot
2 5298176s 148658175s 143360000s primary ntfs
3 148658176s 292018175s 143360000s primary ntfs
4 292018176s 312496127s 20477952s primary ntfs
ls -l /Volumes/Untitled/2015-09-07-09-Master160GB
total 54178176
-rwxrwxrwx 1 josheemskerk staff 14970 7 sep 09:41 Info-dmi.txt
-rwxrwxrwx 1 josheemskerk staff 27576 7 sep 09:41 Info-lshw.txt
-rwxrwxrwx 1 josheemskerk staff 1815 7 sep 09:41 Info-lspci.txt
-rwxrwxrwx 1 josheemskerk staff 254 7 sep 09:41 Info-packages.txt
-rwxrwxrwx 1 josheemskerk staff 94 7 sep 09:41 Info-saved-by-cmd.txt
-rwxrwxrwx 1 josheemskerk staff 1239 7 sep 09:19 blkdev.list
-rwxrwxrwx 1 josheemskerk staff 674 8 sep 06:06 blkid.list
-rwxrwxrwx 1 josheemskerk staff 8659 7 sep 09:41 clonezilla-img
-rwxrwxrwx 1 josheemskerk staff 189 7 sep 09:41 dev-fs.list
-rwxrwxrwx 1 josheemskerk staff 4 7 sep 09:41 disk
-rwxrwxrwx 1 josheemskerk staff 20 7 sep 09:41 parts
-rwxrwxrwx 1 josheemskerk staff 37 7 sep 09:19 sda-chs.sf
-rwxrwxrwx 1 josheemskerk staff 1048064 7 sep 09:19 sda-hidden-data-after-mbr
-rwxrwxrwx 1 josheemskerk staff 512 7 sep 09:19 sda-mbr
-rwxrwxrwx 1 josheemskerk staff 453 7 sep 09:19 sda-pt.parted
-rwxrwxrwx 1 josheemskerk staff 388 7 sep 09:19 sda-pt.parted.compact
-rwxrwxrwx 1 josheemskerk staff 306 7 sep 09:19 sda-pt.sf
-rwxrwxrwx 1 josheemskerk staff 15895528 7 sep 09:19 sda1.ntfs-ptcl-img.gz.aa
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:22 sda2.ntfs-ptcl-img.gz.aa
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:26 sda2.ntfs-ptcl-img.gz.ab
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:29 sda2.ntfs-ptcl-img.gz.ac
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:31 sda2.ntfs-ptcl-img.gz.ad
-rwxrwxrwx 1 josheemskerk staff 2736241882 7 sep 09:33 sda2.ntfs-ptcl-img.gz.ae
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:37 sda3.ntfs-ptcl-img.gz.aa
-rwxrwxrwx 1 josheemskerk staff 4096000000 7 sep 09:41 sda3.ntfs-ptcl-img.gz.ab
-rwxrwxrwx 1 josheemskerk staff 404759472 7 sep 09:41 sda3.ntfs-ptcl-img.gz.ac
-rwxrwxrwx 1 josheemskerk staff 4676537 7 sep 09:41 sda4.ntfs-ptcl-img.gz.aa
Any help would be appreciated
Jos
Last edit: Jos Heemskerk 2015-09-12
Could you give testing DRBL live 2.4.3-18 a try?
http://drbl.org/download/
We spent a lot of time to avoid the /dev/ or /tmp missing on nfsroot environment with systemd issue, and it's fixed in DRBL live 2.4.3-18.
Please let us know the results.
Thanks.
Steven.