Opened 12 years ago

Closed 12 years ago

#311 closed defect (fixed)

NTFS partitions can not be created at restore rime

Reported by: Bruno Cornec Owned by: Bruno Cornec
Priority: normal Milestone: 2.2.9
Component: mondo Version: 2.2.8
Severity: normal Keywords:
Cc:

Description

I have a couple of ntfs partitions (which I excluded from the backup)
that parted is complaining about ("Unknown format ('ntfs') - using supplied
string anyway").  I had to change these to 'ext3' for mondorestore to be
able to continue. I have attached 'mondorestore.log.cantpart' relating to this
issue.

Code should be added in set_partition_type of mondo/src/mondorestore/mondo-prep.c to support those.

Attachments (2)

mindi-2.0.5-mkntfs.patch (1.5 KB) - added by Conor Daly 12 years ago.
PATCH to mindi deplist.txt to include mkfs.ntfs and mount.ntfs components
mondo-2.2.8-mkntfs.patch (943 bytes) - added by Conor Daly 12 years ago.
PATCH to mondo-prep.c to leave out the '-c' switch in calls to mkfs.ntfs

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Bruno Cornec

Status: newassigned

comment:2 Changed 12 years ago by Bruno Cornec

Milestone: 2.2.92.2.8

Should be fixed in rev [2141]. Will be finaly in 2.2.8 Final !

comment:3 Changed 12 years ago by Conor Daly

This is still a problem. /etc/mindi/deplist.txt does not refer to mkfs.ntfs, mkntfs, /sbin/mount.ntfs or /sbin/mount.ntfs-3g . I have attached a patch for mindi for this.

mondorestore uses a call to mkfs:

mkfs -t ntfs -c /dev/sda1

unfortunately, mkfs.ntfs intreprets the '-c' switch as 'specify cluster size' so formatting of ntfs partitions fails. I have patched mondo-prep.c to leave out the '-c' switch if the format is 'ntfs'. I have attached a patch for mondo for this.

Regards,

Conor

Changed 12 years ago by Conor Daly

Attachment: mindi-2.0.5-mkntfs.patch added

PATCH to mindi deplist.txt to include mkfs.ntfs and mount.ntfs components

Changed 12 years ago by Conor Daly

Attachment: mondo-2.2.8-mkntfs.patch added

PATCH to mondo-prep.c to leave out the '-c' switch in calls to mkfs.ntfs

comment:4 Changed 12 years ago by Bruno Cornec

Milestone: 2.2.82.2.9
Resolution: fixed
Status: assignedclosed

Patches applied to rev [2147]. Will be in 2.2.9.

Note: See TracTickets for help on using tickets.