NUC Backup

From wikidb
Revision as of 16:18, 21 June 2015 by Edc (Talk | contribs)

Jump to: navigation, search

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:~$ ls /dev/sdb* /dev/sdb /dev/sdb1 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