[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Partitioning and allocating a logical disk....



Hello Stephen,
Thank you for taking the time to reply.
The O/S is on a mirrored array, and the storage array is RAID5.
The command I used to create the partition is exactly as you wrote "mkfs.ext3 /dev/cciss/c0d1p1"
Indeed, I created a directory under /home and named it "secureftp."  I want to mount just the "secureftp" directory.
Is there something wrong with the command syntax I used?  I entered the command exactly as I wrote in my original e-mail.
Ok, so the system can't find my target file system, would you please explain why so I may know where I went wrong and how I can fix it?
 
Thanks
 


> From: bss@iguanasuicide.net
> To: debian-user@lists.debian.org
> Subject: Re: Partitioning and allocating a logical disk....
> Date: Mon, 5 Jan 2009 14:24:15 -0600
>
>
> RAID-0? I assume this is only temporary storage then, yes? If one drive
> fails in a RAID-0, the entire array is toast.
>
>
> What tool did you use? There's no partition type specifically for ext3,
> AFAIK. Even if there was, you'd still need to create the filesystem. To do
> that from the command-line something like "mkfs.ext3 /dev/cciss/c0d1p1" would
> be required.
>
> > I created a
> > directory under /home named "secureftp." I also added this entry to my
> > FSTAB, contents of which look like this:
>
> > SERVERNAME:/# cat /etc/fstab#
> > /etc/fstab: static file system information.## <file system> <mount point>
> > <type> <options> <dump> <pass>proc /proc proc
> > defaults 0 0/dev/cciss/c0d0p1 / ext3
> > defaults,errors=remount-ro 0 1/dev/cciss/c0d0p5 none swap
> > sw 0 0/dev/hda /media/cdrom0 udf,iso9660
> > user,noauto 0 0/dev/fd0 /media/floppy0 auto
> > rw,user,noauto 0 0/dev/cciss/c0d1p1 /securedata ext3 defaults
> > 0 0
>
> I assume it's not missing all the newlines and your mailer just screwed that
> up? If not, that might be part of your problem.
>
> Also, your prose above indicates you wanted it mounted at /home/secureftp, but
> your fstab entry says you want it at /securedata. Make sure you are
> consistent.
>
> > I run
> > the command "mount -t ext3 /dev/cciss/c0d1p1 /securedata" the system
> > responds with "mount: wrong fs type, bad option..."
>
> Basically, that means that it can't find the filesystem you've specified.
>
> > SERVERNAME:/# dmesg | tail heads= 255, sectors= 32,
> > cylinders= 52299 cciss/c0d1: p1 < > blocks= 426759840 block_size= 512
> > heads= 255, sectors= 32, cylinders= 52299 cciss/c0d1: p1 < >attempt to
> > access beyond end of devicecciss/c0d1p1: rw=0, want=4, limit=2EXT3-fs:
> > unable to read superblock
>
> Attempt to access beyond the end of device is a bit unusual. I suppose that
> might simply have been the ext3 driver looking for one of the extra recovery
> superblocks. For now, I'll ignore it and focus on "unable to read
> superblock" which means the filesystem is either corrupt or hasn't been
> created yest.
>
> > I thought the "superblock" was the 5% of space reserved by the system so I
> > can perform root maintenance should the disk become full, the data corrupt,
> > etc.
>
> No, the superblock is the area of the filesystem (usually stored toward the
> beginning of the drive) that contains information about the filesystem as a
> whole. For example, it generally stores what size the filesystem thinks it
> is, what block size is in use (if the fs supports multiple block sizes), any
> options or sub-options that are expected to be persistent, maybe a free space
> list or bitmap, etc. It also stores things like UUID and LABEL. Most, if
> not all, filesystems have one.
>
> The reserved space and inodes are fairly ext[234] specific -- most other
> filesystems will let you shoot yourself in the foot quite easily. Also, even
> on ext[234] that percentage is adjustable and can be eliminated entirely if
> need be. UNIX and Linux systems traditionally behave very poorly, if at all,
> when no filesystem can be written to -- a lot of programs/scripts require at
> least some scratch space. This reservation by ext[234] can make it quite a
> bit easier to recover from that state.
> --
> Boyd Stephen Smith Jr. ,= ,-_-. =.
> bss@iguanasuicide.net ((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
> http://iguanasuicide.net/ \_/


Reply to: