Pierre Gagn� a �crit :

> Merci pour vos r�ponses.
>
> Voici mon choix d'instalation.
>
> Ubuntu en mode serveur expert.
>
> Tout fonctionne bien, mais sans affichage graphique.
>
> Question: comment on faire pour voir si le raid fonctionne ?
>
> Question: comment faire pour configurer le serveur en serveur de
> courrier ?
>
> encore merci pour votre aide.
>
> Salutations,
> Pierre
>
Voil� les commandes ci-dessous que j'avais eu sur la liste Debian pour
v�rifier ta configuration de Raid.
Apr�s pour voir s'il fonctionne, enleve un disque, je pense que tu le
verras tout de suite.

debian2:/# fdisk /dev/sda
[...]
Command (m for help): p


Disk /dev/sda: 37.0 GB, 37019566080 bytes
255 heads, 63 sectors/track, 4500 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        4500    36146218+  fd  Linux raid
autodetect

Command (m for help): q

debian2:/# fdisk /dev/sdb
[...]
Command (m for help): p


Disk /dev/sdb: 37.0 GB, 37019566080 bytes
255 heads, 63 sectors/track, 4500 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        4500    36146218+  fd  Linux raid
autodetect

Command (m for help): q

debian2:/# fdisk /dev/md0
[...]

Command (m for help): p

Disk /dev/md0: 37.0 GB, 37013618688 bytes
2 heads, 4 sectors/track, 9036528 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q

          o mdadm


debian2:/# mdadm --detail /dev/md0
/dev/md0:
       Version : 00.90.01
 Creation Time : Tue Dec  7 16:09:54 2004
    Raid Level : raid1
    Array Size : 36146112 (34.47 GiB 37.01 GB)
   Device Size : 36146112 (34.47 GiB 37.01 GB)
  Raid Devices : 2
 Total Devices : 2
Preferred Minor : 0
   Persistence : Superblock is persistent

   Update Time : Thu Dec  9 15:41:08 2004
         State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
 Spare Devices : 0

          UUID : dfa65e0e:88f0e391:381f77cc:6d14fce5
        Events : 0.2932

   Number   Major   Minor   RaidDevice State
      0       8        1        0      active sync   /dev/sda1
      1       8       17        1      active sync   /dev/sdb1

          o lvm


debian2:~# lvmdiskscan
 /dev/sda  [       34,48 GB]
 /dev/md0  [       34,47 GB] LVM physical volume
 /dev/sda1 [       34,47 GB]
 /dev/sdb  [       34,48 GB]
 /dev/sdb1 [       34,47 GB]
 2 disks
 2 partitions
 0 LVM physical volume whole disks
 1 LVM physical volume
debian2:~# pvscan
 PV /dev/md0   VG system   lvm2 [34,47 GB / 0    free]
 Total: 1 [34,47 GB] / in use: 1 [34,47 GB] / in no VG: 0 [0   ]
debian2:~# vgs
 VG     #PV #LV #SN Attr  VSize  VFree
 system   1   2   0 wz--n 34,47G    0
debian2:~# lvs
 LV     VG     Attr   LSize   Origin Snap%  Move Copy%
 racine system -wi-ao  33,97G
 swap   system -wi-ao 512,00M



-- 
ubuntu-fr mailing list
[email protected]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Répondre à