Ponto de Montagem. [RESOLVIDO]

1. Ponto de Montagem. [RESOLVIDO]

Amelio Buzato
amdbuzat

(usa Debian)

Enviado em 29/10/2014 - 13:44h

Pessoal, preciso de uma ajuda:
Instalaei um debian em um hd de 500GB e coloquei 2 hds de 2 tb cada para arquivos. Na instalação coloquei os 2 em raid1.
Os arrays estão criados, sobem normalmente. Mas não sei onde está o ponto de montagem para acessar!!

Ao dar alguns comandos conhecido veja o que aparece:
login as: root
root@storage's password:
Linux Storage 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Oct 27 20:43:45 2014 from 192.168.1.2
root@Storage:~# mdadm --detail /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Sun Oct 26 23:58:08 2014
Raid Level : raid1
Array Size : 976625472 (931.38 GiB 1000.06 GB)
Used Dev Size : 976625472 (931.38 GiB 1000.06 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Update Time : Mon Oct 27 14:24:52 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : Storage:1 (local to host Storage)
UUID : 427a9a08:7ccfedaa:73b11ec1:a0dbefe1
Events : 19

Number Major Minor RaidDevice State
0 8 18 0 active sync /dev/sdb2
1 8 34 1 active sync /dev/sdc2
root@Storage:~# df -h
Sist. Arq. Tam Usad Dispon. Uso% Montado em
rootfs 455G 349G 83G 81% /
udev 10M 0 10M 0% /dev
tmpfs 203M 12M 191M 6% /run
/dev/disk/by-uuid/98da8215-7e8d-4370-b266-d192db40143e 455G 349G 83G 81% /
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 1,2G 0 1,2G 0% /run/shm
root@Storage:~# top
top - 00:12:59 up 1 day, 3:25, 1 user, load average: 0,01, 0,04, 0,09
Tasks: 74 total, 1 running, 73 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,0 us, 0,0 sy, 0,0 ni,100,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
KiB Mem: 2074220 total, 1576888 used, 497332 free, 171756 buffers
KiB Swap: 4190204 total, 0 used, 4190204 free, 1171264 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3166 root 20 0 4516 1320 992 R 0,3 0,1 0:00.05 top
1 root 20 0 2288 724 624 S 0,0 0,0 0:01.77 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0,0 0,0 0:15.68 ksoftirqd/0
4 root 20 0 0 0 0 S 0,0 0,0 0:18.48 kworker/0:0
6 root rt 0 0 0 0 S 0,0 0,0 0:01.14 migration/0
7 root rt 0 0 0 0 S 0,0 0,0 0:00.24 watchdog/0
8 root rt 0 0 0 0 S 0,0 0,0 0:00.08 migration/1
10 root 20 0 0 0 0 S 0,0 0,0 0:02.78 ksoftirqd/1
12 root rt 0 0 0 0 S 0,0 0,0 0:00.24 watchdog/1
13 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 cpuset
14 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 khelper
15 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
16 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
17 root 20 0 0 0 0 S 0,0 0,0 0:00.22 sync_supers
18 root 20 0 0 0 0 S 0,0 0,0 0:00.00 bdi-default
19 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
root@Storage:~# apt-get install iotop
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os NOVOS pacotes a seguir serão instalados:
iotop
0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não a tualizados.
É preciso baixar 29,6 kB de arquivos.
Depois desta operação, 142 kB adicionais de espaço em disco serão usados.
Obter:1 http://ftp.br.debian.org/debian/ wheezy/main iotop i386 0.4.4-4 [29,6 kB ]
Baixados 29,6 kB em 0s (107 kB/s)
A seleccionar pacote anteriormente não seleccionado iotop.
(Lendo banco de dados ... 27103 ficheiros e directórios actualmente instalados.)
Desempacotando iotop (de .../iotop_0.4.4-4_i386.deb) ...
Processando gatilhos para man-db ...
Configurando iotop (0.4.4-4) ...
root@Storage:~# iotop
root@Storage:~# cat /proc/mdstat
Personalities : [raid1]
md1 : active (auto-read-only) raid1 sdb2[0] sdc2[1]
976625472 blocks super 1.2 [2/2] [UU]

md0 : active (auto-read-only) raid1 sdb1[0] sdc1[1]
976625472 blocks super 1.2 [2/2] [UU]

unused devices: <none>
root@Storage:~# df
Sist. Arq. 1K-blocos Usad Dispo n. Uso% Montado em
rootfs 476594200 365550708 868338 28 81% /
udev 10240 0 102 40 0% /dev
tmpfs 207424 11924 1955 00 6% /run
/dev/disk/by-uuid/98da8215-7e8d-4370-b266-d192db40143e 476594200 365550708 868338 28 81% /
tmpfs 5120 0 51 20 0% /run/lock
tmpfs 1252880 0 12528 80 0% /run/shm
root@Storage:~# du
4 ./.aptitude
24 .
root@Storage:~# df -h
Sist. Arq. Tam Usad Dispon. Uso% Montado em
rootfs 455G 349G 83G 81% /
udev 10M 0 10M 0% /dev
tmpfs 203M 12M 191M 6% /run
/dev/disk/by-uuid/98da8215-7e8d-4370-b266-d192db40143e 455G 349G 83G 81% /
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 1,2G 0 1,2G 0% /run/shm
root@Storage:~# cat /proc/mdstat
Personalities : [raid1]
md1 : active (auto-read-only) raid1 sdb2[0] sdc2[1]
976625472 blocks super 1.2 [2/2] [UU]

md0 : active (auto-read-only) raid1 sdb1[0] sdc1[1]
976625472 blocks super 1.2 [2/2] [UU]

unused devices: <none>
root@Storage:~# mdadm --query /dev/md0
/dev/md0: 931.38GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail.
root@Storage:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Oct 26 23:57:55 2014
Raid Level : raid1
Array Size : 976625472 (931.38 GiB 1000.06 GB)
Used Dev Size : 976625472 (931.38 GiB 1000.06 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Update Time : Mon Oct 27 14:24:51 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : Storage:0 (local to host Storage)
UUID : 52fd5fb5:8c2844f1:ed4e7def:14a3647a
Events : 19

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
root@Storage:~# df -Th
Sist. Arq. Tipo Tam Usad Dispon. Uso% Montado em
rootfs rootfs 455G 349G 83G 81% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 203M 12M 191M 6% /run
/dev/disk/by-uuid/98da8215-7e8d-4370-b266-d192db40143e ext4 455G 349G 83G 81% /
tmpfs tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs tmpfs 1,2G 0 1,2G 0% /run/shm
root@Storage:~# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Oct 26 23:57:55 2014
Raid Level : raid1
Array Size : 976625472 (931.38 GiB 1000.06 GB)
Used Dev Size : 976625472 (931.38 GiB 1000.06 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent

Update Time : Mon Oct 27 14:24:51 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : Storage:0 (local to host Storage)
UUID : 52fd5fb5:8c2844f1:ed4e7def:14a3647a
Events : 19

Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
root@Storage:~# vi /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md/0 metadata=1.2 UUID=52fd5fb5:8c2844f1:ed4e7def:14a3647a name=Storage:0
ARRAY /dev/md/1 metadata=1.2 UUID=427a9a08:7ccfedaa:73b11ec1:a0dbefe1 name=Storage:1

"/etc/mdadm/mdadm.conf" 25L, 843C 1,1 Topo
Tem idéia de como acho o ponto de montagem para configurar no samba??
Obrigado.


  


2. Re: Ponto de Montagem. [RESOLVIDO]

Amelio Buzato
amdbuzat

(usa Debian)

Enviado em 01/11/2014 - 13:54h

Pessoal, devido `a falta de informação, estou desistindo do projeto. Valeu.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts