LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-05-2009, 12:56 AM   #1
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Rep: Reputation: 31
Editing partitions through SSH then mounting.


Hi,
I have a partition on my server that is not mounting correctly, i am using cfdiskt to write the partition and then editing my fstab and mount -a. I have not been successfull yet, what is the best way to go about this process? Maybe something step by step so I don't miss anything. Is it that cfdisk just isn't formatting the partition really or what? I've tried this over and over.

Thanks,
MJ

Quote:
root@kate:~# mount -a
mount: wrong fs type, bad option, bad superblock on /dev/sda3,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' 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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=aa763522-2bd9-480d-9cef-7b6f9e3adc11 / ext4 errors=remount-ro 0 1

/dev/sda5 none swap sw 0 0
/dev/scd1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda3 /media/media1 ext3 defaults 1 1
/media/media1 is chmoded to 777

Last edited by mitchell7man; 12-05-2009 at 01:00 AM.
 
Old 12-05-2009, 02:50 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

is there a filesystem on your partition? As the error message states the superblock of the filesystem cannot be found.
 
Old 12-05-2009, 03:04 AM   #3
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
i ran a command that it recommended and it is tellimg me that it cant find the ext3 file system on sda3. Is there a better way to partition via command prompt?
 
Old 12-05-2009, 04:56 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
To elaborate on mesiol's post cfdisk creates a partition but not a filesystem i.e it does not format). To create a filesystem use the mkfs command.

I assume this is a new partition and not an existing one that contains data.
 
Old 12-05-2009, 05:19 AM   #5
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: OSX - Fedora
Posts: 458

Original Poster
Rep: Reputation: 31
oh, okay. Thanks for helping out the noob.

-MJ
 
  


Reply

Tags
mount, partition, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing partitions Hb_Kai Linux - General 4 02-15-2009 11:35 AM
cant login after editing partitions Person_1873 Linux - Newbie 6 07-21-2008 09:12 PM
Editing my partitions sudarshan22 Ubuntu 2 06-07-2008 10:07 PM
Editing Partitions Using Live Disc... TelQuel Ubuntu 3 06-05-2008 07:20 PM
Editing NTFS and FAT32 partitions under linux? eire Linux - Hardware 2 12-07-2003 06:54 PM


All times are GMT -5. The time now is 01:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration