Samba Fileserver With SWAT On Fedora 8 (add New disks)

Discussion in 'Installation/Configuration' started by jawis, Sep 28, 2008.

  1. jawis

    jawis New Member


    I've installed a samba fileserver with swat a tima ago. Now i've installed a new harddisk to it, becouse the diskspace became to small.

    I can see the disk with fdisk -l. But how do I mount this disk to the rest. fdisk show the following info:

    Schijf /dev/sde: 400.0 GB, 400088457216 bytes
    255 koppen, 63 sectoren/spoor, 48641 cilinders
    Eenheid = cilinders van 16065 * 512 = 8225280 bytes

    Schijf-ID: 0x00000000

    Schijf /dev/sde bevat geen geldige partitietabel

    I've looked at the article "LVM for beginners" but I don't knwo which parameters I should take. Becouse all the stuff which is already on the other disks, i'm scared to lose this if i make a mistake.
  2. falko

    falko Super Moderator ISPConfig Developer

    Are you using LVM for your other partitions?
  3. jawis

    jawis New Member

    I don't know.

    When I installed Samba with SWAT I did a minimal install of fedora. Then the volume is created. But I don't know how to add the new device to this volume.
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    df -h
    ? What's in /etc/fstab?
  5. jawis

    jawis New Member

    [[email protected] ~]# df -h
    Bestandssysteem Grtte Gebr Besch Geb% Aangekoppeld op
    1,2T 1,1T 17G 99% /
    /dev/sda1 194M 19M 166M 11% /boot
    tmpfs 374M 0 374M 0% /dev/shm

    And in fstab:

    [[email protected] ~]# vi /etc/fstab
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0
  6. falko

    falko Super Moderator ISPConfig Developer

  7. jawis

    jawis New Member

    Almost a year later (and a lot of troubles behind me) I picked up this problem again. I already added the disk (thanks Falko!) and with vgdisplay I can see that the disk is added to the volume.

    But SWAT doesn't see the extra space (when I connect with a windows client with explorer). It still shows the old volumesize, and it's not possible to copy more data to it.
    Do I need to do something else in SWAT? Changing parameters or something?

    Last edited: Jul 4, 2009
  8. falko

    falko Super Moderator ISPConfig Developer

    Have you tried to reboot the system?
  9. jawis

    jawis New Member

    Yes I did. Didn't work. Even turned off for about 10 minutes, but it didn't work.:confused:
  10. jawis

    jawis New Member

    I Think I know where the problem is, but I don't know how do I solve this.

    There's a different between the size of lvdisplay(1.18TB) and vgdisplay(1.54TB). Do I need to unmount and remount the whole volumegroup again? And if yes, will I lose my data?
  11. falko

    falko Super Moderator ISPConfig Developer

    This only means that your logical volumes are not using all the space in your volume group. If you want to change that, you can do it with the lvextend command (also see ).

Share This Page