dear all,
i have a debian server with one hard 80gb hard drive (/ - /home inside) and a 300gb hard drive (i want to use this drive for writin my client images).
i have added the 2nd hard drive to the system (created a directory in /mnt and updated the fstab file) but when i define drblpush -i on the path to the second drive, drbl is saying that the target of the path is not a directory.
when I change the path to /home/partimag it works perfectly.
here is the result of the command fdisk -l
Disque /dev/sda : 300.1 Go, 300090728448 octets
255 têtes, 63 secteurs/piste, 36483 cylindres, total 586114704 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x20e156ed
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 2048 586113023 293055488 83 Linux
here the content of my fstab file:
/etc/fstab: static file system information.
Use 'blkid' to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).
<file system=""> <mount point=""> <type> <options> <dump> <pass>
/ was on /dev/sdb1 during installation
UUID=50c3239f-fca1-45f8-bd96-1fcf5b49ebf7 / ext4 errors=remount-ro 0 1
/home was on /dev/sdb6 during installation
UUID=f452eb32-2e18-41df-af5e-7703cc5661c4 /home ext4 defaults 0 2
swap was on /dev/sdb5 during installation
UUID=dd4e0adb-231a-4f77-bbba-e6d6013eb535 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
When you run "drblpush -i", it warns you not to put the image repository in /mnt, /media or /tmp:
When using clonezilla, which directory in this server you want to store the saved image (Please use absolute path, and do NOT assign it under /mnt/, /media/ or /tmp/)? [/home/partimag]
=================
Those directories are special ones when be mounted, therefore not suitable for image repository sharing.
Please mount that in another path, e.g. /home/images/, then run "drblpush -i" again.
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi Steven,
Sorry I haven't seen your answer since january as i have been on other files...
I will try to mount the image repository in another path, i have seen the warning message but did'nt know how to mount in another path as i am not a linux expert...
big thanks for your support, have a nice day
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
dear all,
i have a debian server with one hard 80gb hard drive (/ - /home inside) and a 300gb hard drive (i want to use this drive for writin my client images).
i have added the 2nd hard drive to the system (created a directory in /mnt and updated the fstab file) but when i define drblpush -i on the path to the second drive, drbl is saying that the target of the path is not a directory.
when I change the path to /home/partimag it works perfectly.
I have tried wiyh different path all same result:
/media/drbl/partimag
/mnt/partimag
/media/partimag
here is the result of the command fdisk -l
Disque /dev/sda : 300.1 Go, 300090728448 octets
255 têtes, 63 secteurs/piste, 36483 cylindres, total 586114704 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x20e156ed
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 2048 586113023 293055488 83 Linux
here the content of my fstab file:
/etc/fstab: static file system information.
Use 'blkid' to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).
<file system=""> <mount point=""> <type> <options> <dump> <pass>
/ was on /dev/sdb1 during installation
UUID=50c3239f-fca1-45f8-bd96-1fcf5b49ebf7 / ext4 errors=remount-ro 0 1
/home was on /dev/sdb6 during installation
UUID=f452eb32-2e18-41df-af5e-7703cc5661c4 /home ext4 defaults 0 2
swap was on /dev/sdb5 during installation
UUID=dd4e0adb-231a-4f77-bbba-e6d6013eb535 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
drbl image
UUID=d5b73593-e68e-47ef-a5d1-db8c4c5a7b3e /mnt/drbl ext4 defaults 0 2
/dev/sdb5: UUID="dd4e0adb-231a-4f77-bbba-e6d6013eb535" TYPE="swap"
/dev/sdb1: UUID="50c3239f-fca1-45f8-bd96-1fcf5b49ebf7" TYPE="ext4"
/dev/sdb6: UUID="f452eb32-2e18-41df-af5e-7703cc5661c4" TYPE="ext4"
/dev/sda1: UUID="d5b73593-e68e-47ef-a5d1-db8c4c5a7b3e" TYPE="ext4" LABEL="drbl"
I know it's not a pure drbl problem but if someone here see a mistake and could help me correct this issue, that would be really great !
have a nice evening
hope to read you soon,
PS: Sorry for the text formatting, this is my first post :)
Last edit: ljerome83 2013-12-29
When you run "drblpush -i", it warns you not to put the image repository in /mnt, /media or /tmp:
When using clonezilla, which directory in this server you want to store the saved image (Please use absolute path, and do NOT assign it under /mnt/, /media/ or /tmp/)?
[/home/partimag]
=================
Those directories are special ones when be mounted, therefore not suitable for image repository sharing.
Please mount that in another path, e.g. /home/images/, then run "drblpush -i" again.
Steven.
hi Steven,
Sorry I haven't seen your answer since january as i have been on other files...
I will try to mount the image repository in another path, i have seen the warning message but did'nt know how to mount in another path as i am not a linux expert...
big thanks for your support, have a nice day