Article 58FW8 Ext. USB SSD: can't change partition type from "ntfs" to "ext4"

Ext. USB SSD: can't change partition type from "ntfs" to "ext4"

by
kaza
from LinuxQuestions.org on (#58FW8)
Hello!

I'm trying to connect an external SSD (USB) to one of our LINUX servers
to be visible (and accessible).

It came with a "ntfs" partition. At first I thought it's no problem
to "mount" it as "ntfs" type is among the known types. But I've got
an error:

mount: unknown filesystem type 'ntfs'

So I decided to remove the "ntfs" partision and to create a LINUX partition
instead.

Here's how the disk is visible:

Code:lsusb
Bus 002 Device 005: ID 1058:1078 Western Digital Technologies, Inc. Elements Portable (WDBUZG)
lsscsi
[10:0:0:0] disk WD Elements 1078 1065 /dev/sdcI've run "fdisk /dev/sdc", deleted the partition, created new GPT
partition table, added a partition, here's how "fdisk" sees it:

Code:
fdisk /dev/sdc

WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p

Disk /dev/sdc: 2000.4 GB, 2000365289472 bytes, 3906963456 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
Disk label type: gpt
Disk identifier: 77739321-A60D-45CA-A70F-15EB0DA20E22

# Start End Size Type Name
1 2048 3906963422 1.8T Linux filesysteBut the "lsblk" still sees the partition type as "ntfs"
and "mount" gives the same error:

Code:lsblk -f /dev/sdc1
NAME FSTYPE LABEL UUID MOUNTPOINT
sdc1 ntfs Elements F474B7AA74B76DCCI attempted to disconnect the SSD and re-connect it (thought that maybe some
cached information remains somewhere) but nothing changed: "fdisk" sees the
partition as LINUX and "lsblk/mount" see it as "ntfs".

What am I doing wrong?

TIA,
kaza.latest?d=yIl2AUoC8zA latest?i=uiAKAf3_9W4:guj0M8GVwmY:F7zBnMy latest?i=uiAKAf3_9W4:guj0M8GVwmY:V_sGLiP latest?d=qj6IDK7rITs latest?i=uiAKAf3_9W4:guj0M8GVwmY:gIN9vFwuiAKAf3_9W4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments