Unable to create file system (newfs)


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to create file system (newfs)
# 8  
Old 08-10-2015
Hi

I have just managed to cleanup the root file system:

Code:
bash-3.00# df -h /
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10        9.8G   7.6G   2.2G    78%    /
bash-3.00#

I am bit scared to create a new file system... on that LUN, and the reason to create a file system was actually to release some space from the root file system
# 9  
Old 08-10-2015
Those are metadevices.

You might want to run metastat to identify disks belonging to your metadevice.
It is probably a mirror or alike which consist of 2 or more local disks on that machine... from format output 2 x 300 GB drives.

Then read up about Solaris SVM and expand it.

I don't think you need a netapp lun for that, but i cannot know why you need it.

Hope that helps
Regards
Peasant.
# 10  
Old 08-10-2015
Hi

I am not familiar with metastat, but the output of it is:

Code:
bash-3.00# metastat
d60: Mirror
    Submirror 0: d61
      State: Okay
    Submirror 1: d62
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 239087500 blocks (114 GB)

d61: Submirror of d60
    State: Okay
    Size: 239087500 blocks (114 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s6          0     No            Okay   Yes


d62: Submirror of d60
    State: Okay
    Size: 239087500 blocks (114 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s6          0     No            Okay   Yes


d50: Mirror
    Submirror 0: d51
      State: Okay
    Submirror 1: d52
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20975000 blocks (10 GB)

d51: Submirror of d50
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s5          0     No            Okay   Yes


d52: Submirror of d50
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s5          0     No            Okay   Yes


d40: Mirror
    Submirror 0: d41
      State: Okay
    Submirror 1: d42
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20975000 blocks (10 GB)

d41: Submirror of d40
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s4          0     No            Okay   Yes


d42: Submirror of d40
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s4          0     No            Okay   Yes


d30: Mirror
    Submirror 0: d31
      State: Okay
    Submirror 1: d32
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 200775000 blocks (95 GB)

d31: Submirror of d30
    State: Okay
    Size: 200775000 blocks (95 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s3          0     No            Okay   Yes


d32: Submirror of d30
    State: Okay
    Size: 200775000 blocks (95 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s3          0     No            Okay   Yes


d20: Mirror
    Submirror 0: d21
      State: Okay
    Submirror 1: d22
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20975000 blocks (10 GB)

d21: Submirror of d20
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s1          0     No            Okay   Yes


d22: Submirror of d20
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s1          0     No            Okay   Yes


d10: Mirror
    Submirror 0: d11
      State: Okay
    Submirror 1: d12
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20975000 blocks (10 GB)

d11: Submirror of d10
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039BE40B7d0s0          0     No            Okay   Yes


d12: Submirror of d10
    State: Okay
    Size: 20975000 blocks (10 GB)
    Stripe 0:
        Device                             Start Block  Dbase        State Reloc Hot Spare
        /dev/dsk/c0t5000C50039D8324Fd0s0          0     No            Okay   Yes


Device Relocation Information:
Device                           Reloc  Device ID
/dev/dsk/c0t5000C50039D8324Fd0   Yes    id1,sd@n5000c50039d8324f
/dev/dsk/c0t5000C50039BE40B7d0   Yes    id1,sd@n5000c50039be40b7
bash-3.00#

Right now, I am doing a backup of entire /, before I launch newfs on it
# 11  
Old 08-11-2015
I have no idea what you are trying to do.

newfs will create filesystem on the new netapp lun noted in the previous posts.
With that you can mount and use it as UFS filesystem, mounted on the location you desire.
Partition any slice but slice 2 starting from 1 sector to last and create filesystem on /dev/rdsk/ctdsX where X is the slice created via format tool and disk labeled.

Above operation has nothing to do with / filesystem.

If you wish to expand the / filesystem you will need to learn the Solaris SVM.
It is different then other volume managers, but one of the most flexible one.

Output required from following commands (and possibly others, my SVM is a bit rusty since zfs is mostly used nowdays... ) might illuminate if you require operations on root filesystem(s) :
Code:
mount
cat /etc/vfstab

Also note the documentation here :
SPARC: Setting Up Disks for UFS File Systems (Task Map) - System Administration Guide: Devices and File Systems

Practice on some test enviroment with FC lun you know it is not used (formating, creating slices, filesystems, metadevices etc.) before issuing commands on production systems.
This User Gave Thanks to Peasant For This Post:
# 12  
Old 08-13-2015
file system created, thank you all
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Unable to extend file system

Hi, I have inherited this AIX 5.3 host. I'm unable to increase the /usr file system. It gives me this error. What needs to be done to remove this error? vios:/home/padmin$ chfs -a size=+128M /usr 0516-304 lquerypv: Unable to find device id 0002ef4df616f9690000000000000000 in the Device ... (14 Replies)
Discussion started by: dn888
14 Replies

2. Red Hat

Unable to mount a clone file system (NetApp)

Hi I have the following difficulty: the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server. I can see the LUN as: fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units =... (1 Reply)
Discussion started by: fretagi
1 Replies

3. HP-UX

Unable to create a tar file due to link

Hi, I am trying to tar a directory structure. but unable to do due to a symbolic link. Please help indomt@behpux $ tar -cvf test.tar /home/indomt a /home/indomt symbolic link to /dxdv/03/ap1dm1 Thanks (1 Reply)
Discussion started by: nag_sathi
1 Replies

4. Solaris

Solaris file system unable to use available space

Hi, The solaris filesystem /u01 shows available space as 100GB, and used space as 6 GB. The Problem is when iam trying to install some software or copy some files in this file system /u01 Iam unable to copy or install in this file system due to lack of space. ofcourse the software... (31 Replies)
Discussion started by: iris1
31 Replies

5. Red Hat

unable to open / create any file in vi

Hi, I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5, example vi test it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies

6. UNIX for Advanced & Expert Users

Unable to clean up file system

Hi, Has anyone ever encountered the following scenario: I am working on a SUN server with solaris 10 installed and veritas managing the filesystem. One of the file systems has become full: df -kh /ossrc/dbdumps Filesystem size used avail capacity Mounted on... (6 Replies)
Discussion started by: eeidel
6 Replies

7. UNIX for Advanced & Expert Users

Using newfs to make file system on a sata disk using Acard adaptor

Hi All: I am using an adaptor between a 1TB SATA hard drive and solaris 8 box with 68 pin scsi. I use the format utility to partition the HD which works fine but when I use newfs, I get some errors. I will place them below. I have blocked and the error message is in red. Anybody got any... (1 Reply)
Discussion started by: mndavies
1 Replies

8. UNIX for Dummies Questions & Answers

How to create a new file system

Is there any URL or procedure to create a new file system on solaris 8/9/10.. (3 Replies)
Discussion started by: tintedwindow
3 Replies

9. AIX

User unable to create a file over 2 GB's in size

Hello, this is my first post. I have a user who cannot create a file over 2 GB's in size eventhough the FS is large file enabled and I added a special stanza in /etc/security/limits to allow an unlimited file size for this particular user (user1 - see below). ibm:/home/root (4062)#cat... (7 Replies)
Discussion started by: AIXtexas
7 Replies

10. SCO

create a new file system

I have just installed 5.0.7 of openserver and forgot to create a /u filesystem. I have a root filesystem that takes up most of the hard disc space and I want to reduce the size of that and create a /u. I have tried divvy amd mkdev fs but to no avail. Could somebody give me some idea as to how I... (2 Replies)
Discussion started by: rongrout
2 Replies
Login or Register to Ask a Question