2020-09-01 September 1, 2020
setup 8TB Toshiba X300 for use, using "a" as a temporary mount point
STEPS:
------------------------------------------------
--> sudo fdisk -l
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfb15222c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1000214527 1000212480 477G 83 Linux
Disk /dev/sdb: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0963251E-545C-4C6A-B94B-9298AD63108E
Device Start End Sectors Size Type
/dev/sdb1 2048 15628052479 15628050432 7.3T Microsoft basic data
Disk /dev/sdc: 12.8 TiB, 14000519643136 bytes, 27344764928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: ACD398EC-C8E0-4581-9EE0-2AF88067387D
Device Start End Sectors Size Type
/dev/sdc1 2048 27344762879 27344760832 12.8T Linux filesystem
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
------------------------------------------------
--> more /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# 2020-06-Jun-17
# e2label /dev/sdb1 3.5-1TB-SATA
# e2label /dev/sdc1 2.5-1TB-SATA
#
#
# / was on /dev/sda1 during installation # 500GB SSD
#
UUID=69161c2a-4faf-4aee-a8f5-fa0d70574dd7 / ext4 errors=remount-ro 0 1
#
/swapfile none swap sw 0 0
#
/dev/sdb1 /Users/luser/8TB/ ext4 defaults 0 0
/dev/sdc1 /Users/luser/14TB/ ext4 defaults 0 0 # Toshiba 8TB 2018
###############################################################
# /dev/sdb1 /Users/luser/3.5-1TB/ ext4 defaults 0 0
# /dev/sdc1 /Users/luser/2.5-1TB/ ext4 defaults 0 0
# /dev/sdb1 /Users/luser/1TB/ ext4 defaults 0 0
# /dev/sdb1 /Users/luser/4TB/ ext4 defaults 0 0
# /dev/sdc1 /Users/luser/8TB/ ext4 defaults 0 0
# /dev/sdc1 /Users/luser/4TB/ ext4 defaults 0 0
# /dev/sdc1 /Users/luser/14TB/ ext4 defaults 0 0 # WD DC HC530 26apr2020 - 30jun2020 - wouldn't power up
###############################################################
------------------------------------------------
--> sudo parted /dev/sdd
GNU Parted 3.2
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Error: /dev/sdd: unrecognised disk label
Model: TOSHIBA HDWR180 (scsi)
Disk /dev/sdd: 8002GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
(parted) mklabel gpt
(parted) mkpart primary 0.00TB 8.00TB
(parted) print
Model: TOSHIBA HDWR180 (scsi)
Disk /dev/sdd: 8002GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8002GB 8002GB primary
(parted) quit
Information: You may need to update /etc/fstab.
------------------------------------------------
--> sudo fdisk -l /dev/sdd
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: D9AC4062-0B6A-4D55-A2ED-47410F0F7302
Device Start End Sectors Size Type
/dev/sdd1 2048 15628052479 15628050432 7.3T Linux filesystem
------------------------------------------------
--> sudo mkfs.ext4 /dev/sdd1
mke2fs 1.44.1 (24-Mar-2018)
Creating filesystem with 1953506304 4k blocks and 244191232 inodes
Filesystem UUID: 509cc172-b94e-4ab8-8c76-f0bde2a87e15
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 (262144 blocks): done
Writing superblocks and filesystem accounting information: done
------------------------------------------------
--> sudo fdisk -l
Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xfb15222c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1000214527 1000212480 477G 83 Linux
Disk /dev/sdb: 7.3 TiB, 8001563222016 bytes, 15628053168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0963251E-545C-4C6A-B94B-9298AD63108E
Device Start End Sectors Size Type
/dev/sdb1 2048 15628052479 15628050432 7.3T Microsoft basic data
Disk /dev/sdc: 12.8 TiB, 14000519643136 bytes, 27344764928 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: ACD398EC-C8E0-4581-9EE0-2AF88067387D
Device Start End Sectors Size Type
/dev/sdc1 2048 27344762879 27344760832 12.8T Linux filesystem
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: D9AC4062-0B6A-4D55-A2ED-47410F0F7302
Device Start End Sectors Size Type
/dev/sdd1 2048 15628052479 15628050432 7.3T Linux filesystem
------------------------------------------------
--> sudo mount /dev/sdd1 /Users/luser/a
------------------------------------------------
--> dfh
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 469G 191G 255G 43% /
/dev/sdb1 7.3T 4.6T 2.4T 66% /Users/luser/8TB
/dev/sdc1 13T 8.9T 3.2T 75% /Users/luser/14TB
/dev/sdd1 7.3T 93M 6.9T 1% /Users/luser/a
---------------------------------------------------
JohnMeister.com
Today's Date:
|