Difference between revisions of "NUC Backup"
From wikidb
(→Create the Backup Disk) |
(→Create the Backup Disk) |
||
Line 24: | Line 24: | ||
(parted) unit s | (parted) unit s | ||
(parted) mkpart primary 1M -1M | (parted) mkpart primary 1M -1M | ||
− | + | ||
− | (parted) quit | + | (parted) quit |
− | Information: You may need to update /etc/fstab. | + | Information: You may need to update /etc/fstab. |
− | + | ||
− | + | eepp@rainier:~$ sudo mkfs.ext4 /dev/sdb1 | |
− | + | mke2fs 1.42.9 (4-Feb-2014) | |
− | eepp@rainier:~$ sudo mkfs.ext4 /dev/sdb1 | + | Filesystem label= |
− | mke2fs 1.42.9 (4-Feb-2014) | + | OS type: Linux |
− | Filesystem label= | + | Block size=4096 (log=2) |
− | OS type: Linux | + | Fragment size=4096 (log=2) |
− | Block size=4096 (log=2) | + | Stride=0 blocks, Stripe width=0 blocks |
− | Fragment size=4096 (log=2) | + | 30531584 inodes, 122096384 blocks |
− | Stride=0 blocks, Stripe width=0 blocks | + | 6104819 blocks (5.00%) reserved for the super user |
− | 30531584 inodes, 122096384 blocks | + | First data block=0 |
− | 6104819 blocks (5.00%) reserved for the super user | + | Maximum filesystem blocks=4294967296 |
− | First data block=0 | + | 3727 block groups |
− | Maximum filesystem blocks=4294967296 | + | 32768 blocks per group, 32768 fragments per group |
− | 3727 block groups | + | 8192 inodes per group |
− | 32768 blocks per group, 32768 fragments per group | + | Superblock backups stored on blocks: |
− | 8192 inodes per group | + | 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, |
− | Superblock backups stored on blocks: | + | 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, |
− | + | 102400000 | |
− | + | ||
− | + | Allocating group tables: done | |
− | + | Writing inode tables: done | |
− | Allocating group tables: done | + | Creating journal (32768 blocks): done |
− | Writing inode tables: done | + | Writing superblocks and filesystem accounting information: done |
− | Creating journal (32768 blocks): done | + | |
− | Writing superblocks and filesystem accounting information: done | + |
Revision as of 16:22, 21 June 2015
Create the Backup Disk
Determine what disk are currently on the system. The Icy Dock disk is ext2 so it will be re-partitioned and formated
mount
or
sudo parted -l sudo parted /dev/sdbeepp@rainier:~$ sudo parted /dev/sdb GNU Parted 2.3 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel gpt 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) print Model: WDC WD50 01AALS-00L3B2 (scsi) Disk /dev/sdb: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags (parted) unit s (parted) mkpart primary 1M -1M (parted) quit Information: You may need to update /etc/fstab. eepp@rainier:~$ sudo mkfs.ext4 /dev/sdb1 mke2fs 1.42.9 (4-Feb-2014) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 30531584 inodes, 122096384 blocks 6104819 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 3727 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done