Author Topic: new hard disk install  (Read 1269 times)

akshaybabloo

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
new hard disk install
« on: February 13, 2014, 08:22:51 am »
hi,

could anyone tell me how to install a new hdd to an existing zentyal server, without formatting the new hdd? the new hdd has two partition with FAT32.

thank you.

christian

  • Guest
Re: new hard disk install
« Reply #1 on: February 13, 2014, 12:55:07 pm »
what do you mean with "install" ?
Can't you see this disk content when you mount it? (at least at OS level)

gzen

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +2/-0
    • View Profile
Re: new hard disk install
« Reply #2 on: February 14, 2014, 01:28:04 am »
i think he's trying attach an additional hd to an running zentyal system, but don't want to destroy the data/partitions on the hd. 

1. power off zentyal, connect your hd.
2. power on and from command line,
$sudo fdisk -l
$sudo blkid                (get the UUID's for the new partitions)
you should see your new hd listed.
3. mount the partitions to new file systems
$sudo mkdir /mountpoint1
$sudo mkdir /mountpoint2
4. edit /etc/fstab
UUID=<UUID1> /mountpoint1 vfat defaults,user,exec,uid=1000,gid=100,umask=000 0 0
UUID=<UUID2> /mountpoint2 vfat defaults,user,exec,uid=1000,gid=100,umask=000 0 0
5. mount
$sudo mount -a

someone correct me if anything i missed pls.

akshaybabloo

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: new hard disk install
« Reply #3 on: March 05, 2014, 02:34:38 pm »
sorry its ntfs. should i just change vfat to vntfs?

akshaybabloo

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: new hard disk install
« Reply #4 on: March 05, 2014, 03:50:45 pm »
ok i got this. now how should i give it a read and write permission?