Koozali.org: home of the SME Server

Trying to backup to USB, can't get around FS type

Offline bldgfac

  • **
  • 25
  • +0/-0
Trying to backup to USB, can't get around FS type
« on: January 08, 2008, 07:35:48 PM »
EDIT: I think I posted this in the wrong forum, so I've duplicated in correct one. Mod can delete.

Heya,

I recently purchased an external USB hard drive to use for back-up purposes.

I plugged in the HD and loaded up my server manager and looked at USB Disks. It detecting my USB drive and named it /dev/sda1 with a FS type of NFTS.

I managed to use fdisk to remove the default partition and I created a new one, then saved. I got an error, but ignored it (this could be my problem).

I then tried to format the partition using this command:

mkfs.vfat -n backup /dev/sda1

I refreshed my USB Disks page and my drive changed from NFTS to vfat. I then used USB Disks to mount the HD to /media/usbdisks.

Everything mounted fine, and when I use 'mount' in the console, it reads:

/dev/sda1 on /media/usbdisk type vfat (rw,nosuid,nodev)

I assumed everything was configured properly and then tried to run a test backup using DAR2. When I did, I got an email to my admin account with the following message:

Connecting to /media/usbdisk
mount: fs type ntfs not supported by kernel

Any help would be appreciated.... thanks!

I also tried changing to ext3 with no luck.

Matt



« Last Edit: January 08, 2008, 09:35:41 PM by bldgfac »

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Trying to backup to USB, can't get around FS type
« Reply #1 on: January 09, 2008, 07:17:12 AM »
...

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Trying to backup to USB, can't get around FS type
« Reply #2 on: January 09, 2008, 12:50:28 PM »
take a look at /etc/fstab - your server may have created an entry that specified "ntfs" the first time the disk was connected...

Offline bldgfac

  • **
  • 25
  • +0/-0
Re: Trying to backup to USB, can't get around FS type
« Reply #3 on: January 09, 2008, 03:04:28 PM »
Thanks for the replies.

Turns out the error message I was getting after 'writing' the new partition told me to restart the server for the changes to take affect.

Then I was able to format the drive with a ext3 fs type.

I was still able to mount the drive to /dev/sda, but I was still unable to get a backup started. I had to go into the /etc/fstab and manually add the mount. I don't know why this wasn't already in there. It showed up in /etc/mtab without a issue.

I'm now able to backup successfully.