Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
Poslední revize Obě strany příští revize
linux:rozcestnik [22.08.2014 09:25]
vm
linux:rozcestnik [25.12.2016 23:20]
vm
Řádek 31: Řádek 31:
 Hotovo. Hotovo.
  
 +==== práce s GPT partition table ====
  
 +
 +To create a partition start GNU parted as follows:
 +  parted /dev/sdb
 +
 +Output:
 +
 +  GNU Parted 2.3
 +  Using /dev/sdb
 +  Welcome to GNU Parted! Type '​help'​ to view a list of commands.
 +  (parted)
 +Creates a new GPT disklabel i.e. partition table:
 +
 +  (parted) mklabel gpt
 +Sample outputs:
 +
 +  Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to   ​continue?​
 +  Yes/No? yes
 +  (parted)
 +Next, set the default unit to TB, enter:
 +
 +  (parted) unit TB
 +To create a 3TB partition size, enter:
 +
 +  (parted) mkpart primary 0.00TB 3.00TB
 +To print the current partitions, enter:
 +
 +  (parted) print
 +Sample outputs:
 +
 +  Model: ATA ST33000651AS (scsi)
 +  Disk /dev/sdb: 3.00TB
 +  Sector size (logical/​physical):​ 512B/512B
 +  Partition Table: gpt
 +  Number ​ Start   ​End ​    ​Size ​   File system ​ Name     Flags
 +   ​1 ​     0.00TB ​ 3.00TB ​ 3.00TB ​ ext4         ​primary
 +  Quit and save the changes, enter:
 +  ​
 +  (parted) quit
 +Use the mkfs.ext3 or mkfs.ext4 command to format the file system, enter:
 +
 +  mkfs.ext3 /dev/sdb1
 +OR
 +  mkfs.ext4 /dev/sdb1
 +
 +[[http://​www.cyberciti.biz/​tips/​fdisk-unable-to-create-partition-greater-2tb.html]]
  
  
Řádek 90: Řádek 136:
 a pak a pak
   smartctl -A /dev/sda | grep Power_On_Hours   smartctl -A /dev/sda | grep Power_On_Hours
 +  ​
 +=== tcpdump ===
 +RIP
 +  tcpdump -i eth0 -vv -s0 udp and port 520
 +
 +  tcpdump -i any -vv -n udp and port 520
 +
linux/rozcestnik.txt · Poslední úprava: 15.02.2019 22:41 autor: vm