I tried formatting my external hard drive (Samsung Story Station 2TB) as it was not working well. Now I'm getting an error and it's not working.
Can anyone please help me with above error?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
It looks like you're trying to format the unpartitioned drive. File systems are supposed to be created inside partitions and therefore most file system creators refuse to create them on unpartitioned drives to avoid accidental misuse (unless you force them to).
You should create
a partition table on the drive (if none exists) and
at least one partition
before you create the file system. Gnome Disks (among other partition managers) can perform all of these tasks.
Side note: There is one known bad sector on the drive, which is a sign that the drive is likely to fail in the near future.