setting up 8TB drive on Linux# notes: # fdisk will not format large drives - but displays info # I prefer using ext4 over newer filesystems - newer systems have burned me in the past # if you're using the drive on Mac and Windows - first format on Mac as FAT # if you're using the drive on Windows and Linux - first format on Windows as NTFS # -- if you format the drive as NTFS on Linux, Microsoft systems will not accept it, has to be MS first # if only linux, the instructions below work as defined # I prefer using kernel names, i.e. /dev/sdd1, # -- versus the UUID - not recommended if using a RAID or on a complex system ------------------------------------------------ fdisk -l ------------------------------------------------ Disk /dev/sdd: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes ------------------------------------------------ root@opus [/root] ------------------------------------------------ --> parted /dev/sdd GNU Parted 3.1 Using /dev/sdd Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0.00TB 8.00TB (parted) print Model: TOSHIBA HDWF180 (scsi) Disk /dev/sdd: 8.00TB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 0.00TB 8.00TB 8.00TB primary (parted) quit Information: You may need to update /etc/fstab. ------------------------------------------------ fdisk -l ------------------------------------------------ Disk /dev/sdd: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 0963251E-545C-4C6A-B94B-9298AD63108E Device Start End Sectors Size Type /dev/sdd1 2048 15628052479 15628050432 7.3T Microsoft basic data ------------------------------------------------ root@opus [/root] ------------------------------------------------ --> mkfs.ext4 /dev/sdd1 mke2fs 1.42.11 (09-Jul-2014) Creating filesystem with 1953506304 4k blocks and 244191232 inodes Filesystem UUID: 078d6ef7-7332-4f63-bcb9-cf18a0c3052e Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848, 512000000, 550731776, 644972544, 1934917632 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done ------------------------------------------------ ------------------------------------------------ mkdir /home/luser/8TB-FOTOS-BAK ------------------------------------------------ mount /dev/sdd1 /home/luser/8TB-FOTOS-BAK ------------------------------------------------ cp -rp /ARCHIVE/2003 /home/luser/8TB-FOTOS-BAK/ cp -rp /ARCHIVE/SLIDES /home/luser/8TB-FOTOS-BAK/ rsync -av --progress /home/luser/FOTOS/ /home/luser/8TB-FOTOS-BAK/ ----------------------------------------------- once the 8TB drive has all from ARCHIVE and FOTOS, place the 2nd 8TB drive in the dual drive SATA USB attachement, repeat format process for 2nd 8TB drive copy the 1st 8TB drive to the 2nd 8TB drive and then replace the internal 4TB drive with 1st 8TB drive update /etc/fstab and make sure it mounts properly. label the 2nd 8TB drive as the backup and keep it in an antistatic bag label the removed original 4TB drive and use it to back up the other 4tb drive used for web pages ----------------------------------------------- |
Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview Intro to Linux |
|
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |