Gparted tells you.  It was /dev/sdd before, but check again as it can change.  Also unmount the filesystem first


On Nov 25, 2016 8:50 AM, "Michael" <bmike1@gmail.com> wrote:
I'm trying to run 'badblocks' but each time I run it get the same  thing.

$ sudo badblocks -b 4096 -c 98304 -p 0 -w -s /media/bmike1/NexStar
badblocks: invalid starting block (0): must be less than 0
.
.
.
I just googled the error and find:

-Apparently this is Linux-speak for "This program needs the name of a device file, and the programmer was too lazy to have it detect that you supplied the name of the mount point instead".-

How do I discover the device as opposed to the mount point?

On Thu, Nov 24, 2016 at 4:30 PM, Brien Dieterle <briend@gmail.com> wrote:

Almost looks like bad sectors. Might want to try badblocks
https://wiki.archlinux.org/index.php/badblocks
Maybe try formatting it ext4
Maybe try another USB port and cable


On Nov 24, 2016 1:21 PM, "Michael" <bmike1@gmail.com> wrote:
I really appreciate the help.... It errored out though. Here is what gparted reported:

Create Primary Partition #1 (ntfs, 232.88 GiB) on /dev/sdd  00:00:37    ( ERROR )
    
create empty partition  00:00:00    ( SUCCESS )
    
path: /dev/sdd1
start: 2048
end: 488396799
size: 488394752 (232.88 GiB)
clear old file system signatures in /dev/sdd1  00:00:00    ( SUCCESS )
    
write 68.00 KiB of zeros at byte offset 0  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 67108864  00:00:00    ( SUCCESS )
write 4.00 KiB of zeros at byte offset 250058108928  00:00:00    ( SUCCESS )
flush operating system cache of /dev/sdd  00:00:00    ( SUCCESS )
set partition type on /dev/sdd1  00:00:00    ( SUCCESS )
    
new partition type: ntfs
create new ntfs file system  00:00:37    ( ERROR )
    
mkntfs -Q -v -L "NexStar" /dev/sdd1
    
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
Creating root directory (mft record 5)
Creating $MFT (mft record 0)
Creating $MFTMirr (mft record 1)
Creating $LogFile (mft record 2)
Creating $AttrDef (mft record 4)
Creating $Bitmap (mft record 6)
Creating $Boot (mft record 7)
Creating backup boot sector.
Creating $Volume (mft record 3)
Creating $BadClus (mft record 8)
Creating $Secure (mft record 9)
Creating $UpCase (mft record 0xa)
Creating $Extend (mft record 11)
Creating system file (mft record 0xc)
Creating system file (mft record 0xd)
Creating system file (mft record 0xe)
Creating system file (mft record 0xf)
Creating $Quota (mft record 24)
Creating $ObjId (mft record 25)
Creating $Reparse (mft record 26)
Syncing root directory index record.
Syncing $Bitmap.
Syncing $MFT.
Updating $MFTMirr.
Syncing device.
Failed to sync device /dev/sdd1: Input/output error
Syncing device. FAILED

On Thu, Nov 24, 2016 at 2:28 PM, Stephen Partington <cryptworks@gmail.com> wrote:

Get gparted and use it to take a look. Lots of USB drives have some wonky trick they use.


On Nov 24, 2016 12:04 PM, "Michael" <bmike1@gmail.com> wrote:

I got a problem. This new drive won't format. Linux saw it when I first plugged it in. I then tried copying some files to it which resulted in an error appearing after 5-10 minutes telling me to open windows and run 'chkdsk \f' on the device. Then I plugged it into windows10 and couldn't figure out how to open a terminal so I decided to format it. But it wouldn't format. When I attempt to it flashes twice a second for a little then a long flash then again quickly. So I figured I would attempt the format with Linux but Linux doesn't see the drive now so no formatting with it. Can someone help?
--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
:-)~MIKE~(-:

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss