*Empty MediaWiki Message*
This commit is contained in:
parent
78df44bef1
commit
2a54aaa91f
|
@ -10,7 +10,35 @@ Debian (x64) jessie/sid - Linux zaubert 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (20
|
|||
|
||||
== Verwendungszweck ==
|
||||
* mit BTRFS, iSCSI & Co. spielen
|
||||
* (Freebert = iscsi target)
|
||||
|
||||
== Freebert iSCSI Target ==
|
||||
|
||||
<source lang=bash>
|
||||
vi /etc/ctl.conf
|
||||
|
||||
target iqn.2014-01.de.c3d2.hq:zaubert {
|
||||
auth-group no-authentication
|
||||
portal-group c3d2
|
||||
alias "ZauBert BTRFS"
|
||||
|
||||
lun 0 {
|
||||
path /iscsi/target2-0
|
||||
size 25G
|
||||
}
|
||||
lun 1 {
|
||||
path /iscsi/target2-1
|
||||
size 25G
|
||||
}
|
||||
lun 2 {
|
||||
path /iscsi/target2-2
|
||||
size 25G
|
||||
}
|
||||
lun 3 {
|
||||
path /iscsi/target2-3
|
||||
size 25G
|
||||
}
|
||||
}
|
||||
</source>
|
||||
|
||||
== Installation ==
|
||||
PXE Netboot über Freebert DHCP/TFTP Bootimage (debian jessie/sid)
|
||||
|
@ -130,6 +158,72 @@ dmesg | grep sdc
|
|||
[ 13.511497] btrfs: device label system devid 1 transid 139 /dev/sdc1
|
||||
</source>
|
||||
|
||||
<source lang=bash>
|
||||
parted -l
|
||||
Model: ATA WDC WD1001FALS-0 (scsi)
|
||||
Disk /dev/sda: 1000GB
|
||||
Sector size (logical/physical): 512B/512B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
1 1049kB 2000MB 1999MB primary ext4 boot, raid
|
||||
2 2000MB 3999MB 2000MB primary linux-swap(v1)
|
||||
|
||||
|
||||
Model: ATA WDC WD20EARX-00P (scsi)
|
||||
Disk /dev/sdb: 2000GB
|
||||
Sector size (logical/physical): 512B/4096B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
1 1049kB 2000MB 1999MB primary ntfs boot, raid
|
||||
2 2000MB 3999MB 2000MB primary linux-swap(v1)
|
||||
|
||||
|
||||
Model: FREEBSD CTLDISK (scsi)
|
||||
Disk /dev/sdc: 26,8GB
|
||||
Sector size (logical/physical): 512B/512B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
1 1049kB 26,8GB 26,8GB primary btrfs
|
||||
|
||||
|
||||
Model: FREEBSD CTLDISK (scsi)
|
||||
Disk /dev/sdd: 26,8GB
|
||||
Sector size (logical/physical): 512B/512B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
|
||||
|
||||
Model: FREEBSD CTLDISK (scsi)
|
||||
Disk /dev/sde: 26,8GB
|
||||
Sector size (logical/physical): 512B/512B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
|
||||
|
||||
Model: FREEBSD CTLDISK (scsi)
|
||||
Disk /dev/sdf: 26,8GB
|
||||
Sector size (logical/physical): 512B/512B
|
||||
Partition Table: msdos
|
||||
|
||||
Number Start End Size Type File system Flags
|
||||
|
||||
|
||||
Model: Linux Software RAID Array (md)
|
||||
Disk /dev/md0: 1998MB
|
||||
Sector size (logical/physical): 512B/4096B
|
||||
Partition Table: loop
|
||||
|
||||
Number Start End Size File system Flags
|
||||
1 0,00B 1998MB 1998MB ext4
|
||||
|
||||
|
||||
</source>
|
||||
|
||||
<source lang=bash>
|
||||
btrfs filesystem show /
|
||||
Label: 'system' uuid: a231f9ab-8a92-4ab5-b9b2-7365b637fdbe
|
||||
|
@ -181,7 +275,30 @@ Btrfs v3.14.1
|
|||
|
||||
== BTRFS RAID erstellen ==
|
||||
|
||||
Der Wahnsinn beginnt damit, einfach eine nackte Platte ohne Partitionstabelle hinzufügen zu können :D
|
||||
|
||||
{{NiftyDiv|
|
||||
Farbe=#f4b9c4|
|
||||
Inhalt=
|
||||
<source lang=bash>
|
||||
btrfs device add -f /dev/sdd /
|
||||
Performing full device TRIM (25.00GiB) ...
|
||||
|
||||
btrfs filesystem show /
|
||||
Label: 'system' uuid: a231f9ab-8a92-4ab5-b9b2-7365b637fdbe
|
||||
Total devices 2 FS bytes used 1.37GiB
|
||||
devid 1 size 25.00GiB used 4.04GiB path /dev/sdc1
|
||||
devid 2 size 25.00GiB used 0.00 path /dev/sdd
|
||||
|
||||
Btrfs v3.14.1
|
||||
</source>
|
||||
}}
|
||||
|
||||
der vernünftige Weg ...
|
||||
|
||||
<source lang=bash>
|
||||
|
||||
|
||||
</source>
|
||||
|
||||
== Log ==
|
||||
|
|
Loading…
Reference in New Issue
Block a user