Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
DavidKalinowski

pulling my hair out! (Cant mount drive debian 10)

Recommended Posts

Posted · Original PosterOP

okay this is stupid, and it should not be an issue. I set up a new debian 10 server, I'm litterally logged in as root now. (I know bad etc. but its an isolated network and this is just a test/proof of concept so I can show my boss what FogServer can do)

 

I have the main 500GB drive that I installed on. then a 1TB and a 2TB drive that will be used for backup/image storage. I entered
 

mkdir media

mkdir media/images

mount -t auto /dev/sdc1 media/images

media/images does not exist

 

the hell it doesn't I just made it! for reference here is the out put of lsblk

lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0 457.9G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0   7.9G  0 part [SWAP]
sdb      8:16   0 931.5G  0 disk
└─sdb1   8:17   0 931.5G  0 part
sdc      8:32   0   1.8T  0 disk
└─sdc1   8:33   0   1.8T  0 part
sr0     11:0    1  1024M  0 rom

And the output of fdisk -l

fdisk -l
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DM003-1SB1
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: 0xe0f0b244

Device     Boot Start        End    Sectors   Size Id Type
/dev/sdb1        2048 1953523711 1953521664 931.5G 83 Linux


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500DM002-1BC14
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: dos
Disk identifier: 0x73e76b07

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 960186367 960184320 457.9G 83 Linux
/dev/sda2       960188414 976771071  16582658   7.9G  5 Extended
/dev/sda5       960188416 976771071  16582656   7.9G 82 Linux swap / Solaris


Disk /dev/sdc: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DL003-9VT1
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: dos
Disk identifier: 0x0008a40d

Device     Boot Start        End    Sectors  Size Id Type
/dev/sdc1        2048 3907028991 3907026944  1.8T 83 Linux

what am I missing? this has to be some thing easy that I am just blanking out on right?

 

i deleted the dirs and started over, remade the dirs, and tried to mount again

mount dev/sdc1 media/images
mount: /root/media/images: special device dev/sdc1 does not exist.

this is what I get now.

Link to post
Share on other sites

(I didn't read most of op)

remember, dev and media is in / so, 

 

mount /dev/sdc1 /media/images

 


# cat /dev/zero > /dev/sda
Link to post
Share on other sites
52 minutes ago, DavidKalinowski said:

this is what I get now.

Double check your commands

mount dev/sdc1 media/images

you forgot the first / in /dev/sdc1 so it's looking for it in your working directory.

mount /dev/sdc1 media/images

should work but you should get in the habit of typing out full paths for things like this or, at least, use tab autocompletion to check if the paths you're typing actually exist.


...is there a question here? 🤔

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×